about summary refs log tree commit diff
path: root/lib/Net
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-12-08 17:44:58 +0100
committerfranck cuny <franck@lumberjaph.net>2010-12-08 17:44:58 +0100
commit9e05cc25f30698fd9397ee2e14f73543ce0645aa (patch)
tree92188925b6b8424edb57e7e434741c9f982d688d /lib/Net
parentdefault to hashref (diff)
downloadnet-http-api-9e05cc25f30698fd9397ee2e14f73543ce0645aa.tar.gz
add HashRef to type def.
Diffstat (limited to 'lib/Net')
-rw-r--r--lib/Net/HTTP/API/Meta/Method/APIDeclare.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/API/Meta/Method/APIDeclare.pm b/lib/Net/HTTP/API/Meta/Method/APIDeclare.pm
index df5a91b..0c9489a 100644
--- a/lib/Net/HTTP/API/Meta/Method/APIDeclare.pm
+++ b/lib/Net/HTTP/API/Meta/Method/APIDeclare.pm
@@ -19,7 +19,7 @@ my @accepted_options = qw/
 has api_options => (
     is      => 'ro',
     traits  => ['Hash'],
-    isa     => 'HashRef[Str|CodeRef]',
+    isa     => 'HashRef[Str|CodeRef|HashRef]',
     default => sub { {} },
     lazy    => 1,
     handles => {