Browse files

fix method name

  • Loading branch information...
1 parent 2389782 commit 8b841d433f33fb9d72aefff025a01cdfb202ea29 franck cuny committed Oct 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 eg/api.pl
View
2 eg/api.pl
@@ -8,6 +8,6 @@
$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};

0 comments on commit 8b841d4

Please sign in to comment.