From 8cefe8394aa4521bdc2c6d16c79ecaec01e90b99 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 26 Jul 2010 09:14:50 +0200 Subject: remove coerce --- lib/Net/HTTP/API/Meta/Method.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,); -- cgit 1.4.1