From 9e05cc25f30698fd9397ee2e14f73543ce0645aa Mon Sep 17 00:00:00 2001 From: franck cuny Date: Wed, 8 Dec 2010 17:44:58 +0100 Subject: add HashRef to type def. --- lib/Net/HTTP/API/Meta/Method/APIDeclare.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Net') 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 => { -- cgit 1.4.1