diff options
author | franck cuny <franck@lumberjaph.net> | 2010-07-26 09:14:50 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-07-26 09:14:50 +0200 |
commit | 8cefe8394aa4521bdc2c6d16c79ecaec01e90b99 (patch) | |
tree | d8f583db32f2e96eb659dacfc2ff23208005d2b6 /lib/Net/HTTP/API/Meta/Method.pm | |
parent | changes; update version (diff) | |
download | net-http-api-8cefe8394aa4521bdc2c6d16c79ecaec01e90b99.tar.gz |
remove coerce
Diffstat (limited to 'lib/Net/HTTP/API/Meta/Method.pm')
-rw-r--r-- | lib/Net/HTTP/API/Meta/Method.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/API/Meta/Method.pm b/lib/Net/HTTP/API/Meta/Method.pm index adda12c..2b16f8a 100644 --- a/lib/Net/HTTP/API/Meta/Method.pm +++ b/lib/Net/HTTP/API/Meta/Method.pm @@ -17,7 +17,7 @@ subtype UriPath enum Method => qw(HEAD GET POST PUT DELETE); -has path => (is => 'ro', isa => 'UriPath', required => 1, coerce => 1); +has path => (is => 'ro', isa => 'UriPath', required => 1); has method => (is => 'ro', isa => 'Method', required => 1); has description => (is => 'ro', isa => 'Str', predicate => 'has_description'); has strict => (is => 'ro', isa => 'Bool', default => 1,); |