release-1.10release-1.9
Last change
on this file since 5ef98c7 was
2a42248,
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 | |
---|
1 | package Facebook::Graph::Role::Uri; |
---|
2 | BEGIN { |
---|
3 | $Facebook::Graph::Role::Uri::VERSION = '1.0300'; |
---|
4 | } |
---|
5 | |
---|
6 | use Any::Moose 'Role'; |
---|
7 | use URI; |
---|
8 | |
---|
9 | sub uri { |
---|
10 | return URI->new('https://graph.facebook.com') |
---|
11 | } |
---|
12 | |
---|
13 | |
---|
14 | 1; |
---|
15 | |
---|
16 | =head1 NAME |
---|
17 | |
---|
18 | Facebook::Graph::Role::Uri - The base URI for the Facebook Graph API. |
---|
19 | |
---|
20 | =head1 VERSION |
---|
21 | |
---|
22 | version 1.0300 |
---|
23 | |
---|
24 | =head1 DESCRIPTION |
---|
25 | |
---|
26 | Provides 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 | |
---|
30 | Facebook::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.