diff options
author | franck cuny <franck@lumberjaph.net> | 2010-06-03 09:50:39 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-06-03 09:50:39 +0200 |
commit | b62c50ed3c9b48d7d964134de5f4ef0fd36a6112 (patch) | |
tree | d79dfc9770a93823b663000edaa59129e780f7d8 /lib/MooseX/Net/API.pm | |
parent | update POD (diff) | |
download | moosex-net-api-b62c50ed3c9b48d7d964134de5f4ef0fd36a6112.tar.gz |
update POD
Diffstat (limited to '')
-rw-r--r-- | lib/MooseX/Net/API.pm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/MooseX/Net/API.pm b/lib/MooseX/Net/API.pm index b6f0f28..2dcfc13 100644 --- a/lib/MooseX/Net/API.pm +++ b/lib/MooseX/Net/API.pm @@ -72,11 +72,11 @@ MooseX::Net::API - Easily create client for net API ); # declaring a users method - # calling $obj->users will call http://exemple.com/api/users?country=france + # calling $obj->users will call http://exemple.com/api/users/france net_api_method users => ( description => 'this get a list of users', method => 'GET', - path => '/users/', + path => '/users/:country', params => [qw/country/], ); @@ -155,6 +155,14 @@ The following methods are added to your class: =item B<http_request> +=item B<get_content> + +=item B<serialize> + +=item B<deserialize> + +=item B<content_type> + =back =head2 METHODS |