summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-01-04 13:43:55 +0100
committerfranck cuny <franck@lumberjaph.net>2010-01-04 13:43:55 +0100
commit66b440718423816c36cb8db641f05b00736082e1 (patch)
tree6a031f850a8065a43de67dd787b06d58fcd559aa
parentChecking in changes prior to tagging of version 0.07. Changelog diff is: (diff)
downloadmoosex-net-api-66b440718423816c36cb8db641f05b00736082e1.tar.gz
api_base_url is not read-only
-rw-r--r--lib/MooseX/Net/API.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Net/API.pm b/lib/MooseX/Net/API.pm
index a9e6cb4..9251534 100644
--- a/lib/MooseX/Net/API.pm
+++ b/lib/MooseX/Net/API.pm
@@ -44,7 +44,7 @@ sub net_api_declare {
 
     $class->add_attribute(
         'api_base_url',
-        is      => 'ro',
+        is      => 'rw',
         isa     => 'Str',
         lazy    => 1,
         default => delete $options{base_url} || ''