summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-20 16:10:33 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-20 16:10:33 +0100
commitaf381fe8ee649310c0be5dc3696da816cf50b9db (patch)
tree2b1025d810ab4283a74ab954fdfc4080c0fe5635
parentupdate tests makefile pod and declaration (diff)
downloadnet-backtype-af381fe8ee649310c0be5dc3696da816cf50b9db.tar.gz
update api_base_url attribute name
-rw-r--r--lib/Net/Backtweet.pm8
-rw-r--r--lib/Net/Backtype.pm6
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/Net/Backtweet.pm b/lib/Net/Backtweet.pm
index ba84758..ea29a57 100644
--- a/lib/Net/Backtweet.pm
+++ b/lib/Net/Backtweet.pm
@@ -5,9 +5,9 @@ use MooseX::Net::API;
 extends 'Net::Backtype';
 
 net_api_declare backtweet => (
-    base_url    => 'http://backtweets.com',
-    format      => 'json',
-    format_mode => 'append',
+    api_base_url => 'http://backtweets.com',
+    format       => 'json',
+    format_mode  => 'append',
 );
 
 net_api_method backtweet_search => (
@@ -28,7 +28,7 @@ Net::Backtweet - client for the backtweet API
 
   use Net::Backtweet;
   my $client = Net::Backtweet->new();
-  my $res = $client->backtweet_search(q => 'http://lumberjaph.net', key => $mykey);
+  my $res = $client->backtweet_search(q => 'http://lumberjaph.net/', key => $mykey);
 
 =head1 DESCRIPTION
 
diff --git a/lib/Net/Backtype.pm b/lib/Net/Backtype.pm
index ac7816c..19ffcb3 100644
--- a/lib/Net/Backtype.pm
+++ b/lib/Net/Backtype.pm
@@ -6,9 +6,9 @@ use MooseX::Net::API;
 our $VERSION = '0.01';
 
 net_api_declare backtype => (
-    base_url    => 'http://api.backtype.com',
-    format      => 'json',
-    format_mode => 'append',
+    api_base_url => 'http://api.backtype.com',
+    format       => 'json',
+    format_mode  => 'append',
 );
 
 net_api_method user_comments => (