diff options
author | franck cuny <franck@lumberjaph.net> | 2010-06-03 14:11:54 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-06-03 14:11:54 +0200 |
commit | c94d18646c9116502cfb212de1ab9f8df2377b90 (patch) | |
tree | 8616e6480f759fcc73a3722443671708434f63ee /lib/MooseX/Net/API/Role/UserAgent.pm | |
parent | remove -d, add uploadtocpan (diff) | |
download | moosex-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.pm | 2 |
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( |