summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-26 17:35:23 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-26 17:35:23 +0200
commit8b841d433f33fb9d72aefff025a01cdfb202ea29 (patch)
tree49c63e7429a116527f53133cec87189147d12d43
parentadd role to trace (diff)
downloadnet-http-spore-8b841d433f33fb9d72aefff025a01cdfb202ea29.tar.gz
fix method name
-rw-r--r--eg/api.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/eg/api.pl b/eg/api.pl
index 9fd3bee..60559ff 100644
--- a/eg/api.pl
+++ b/eg/api.pl
@@ -8,6 +8,6 @@ my $api = Net::HTTP::Spore->new_from_spec(shift);
 
 $api->enable('Net::HTTP::Spore::Middleware::Format::JSON');
 
-my ( $content, $result ) = $api->user_information( format => 'json', username => 'franckcuny' );
+my ( $content, $result ) = $api->get_info( format => 'json', username => 'franckcuny' );
 
 say "name => ". $content->{body}->{user}->{name};