summary refs log tree commit diff
path: root/lib/MooseX/Net/API/Role/UserAgent.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-03 14:11:54 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-03 14:11:54 +0200
commitc94d18646c9116502cfb212de1ab9f8df2377b90 (patch)
tree8616e6480f759fcc73a3722443671708434f63ee /lib/MooseX/Net/API/Role/UserAgent.pm
parentremove -d, add uploadtocpan (diff)
downloadmoosex-net-api-c94d18646c9116502cfb212de1ab9f8df2377b90.tar.gz
rename some methods
Diffstat (limited to 'lib/MooseX/Net/API/Role/UserAgent.pm')
-rw-r--r--lib/MooseX/Net/API/Role/UserAgent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Net/API/Role/UserAgent.pm b/lib/MooseX/Net/API/Role/UserAgent.pm
index c3a1d5b..c21628a 100644
--- a/lib/MooseX/Net/API/Role/UserAgent.pm
+++ b/lib/MooseX/Net/API/Role/UserAgent.pm
@@ -9,7 +9,7 @@ has api_useragent => (
     lazy    => 1,
     default => sub {
         my $self = shift;
-        my $ua   = $self->meta->get_option('useragent');
+        my $ua   = $self->meta->get_api_option('useragent');
         return $ua->() if $ua;
         $ua = LWP::UserAgent->new();
         $ua->agent(