source: perl/modules/Facebook/lib/Facebook/Graph/Role/Uri.pm @ c104b43

Last change on this file since c104b43 was cfca761, checked in by Edward Z. Yang <ezyang@mit.edu>, 13 years ago
Add vanilla Facebook::Graph. Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
  • Property mode set to 100644
File size: 605 bytes
Line 
1package Facebook::Graph::Role::Uri;
2BEGIN {
3  $Facebook::Graph::Role::Uri::VERSION = '1.0300';
4}
5
6use Any::Moose 'Role';
7use URI;
8
9sub uri {
10    return URI->new('https://graph.facebook.com')
11}
12
13
141;
15
16=head1 NAME
17
18Facebook::Graph::Role::Uri - The base URI for the Facebook Graph API.
19
20=head1 VERSION
21
22version 1.0300
23
24=head1 DESCRIPTION
25
26Provides a C<uri> method in any class which returns a L<URI> object that points to the Facebook Graph API.
27
28=head1 LEGAL
29
30Facebook::Graph is Copyright 2010 Plain Black Corporation (L<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
31
32=cut
Note: See TracBrowser for help on using the repository browser.