summary refs log tree commit diff
path: root/lib/Net/HTTP/Spore/Meta/Method.pm
diff options
context:
space:
mode:
authorBrian Phillips <bphillips@cpan.org>2012-12-04 22:29:48 -0600
committerAsh Berlin <ash_github@firemirror.com>2013-04-19 14:21:43 +0100
commitf233196fa9155ee4bc46cebd85052bd5cfcaa36d (patch)
tree8d29bb2d7f161b9c7dfd0d53ab9d6b0fb2ae751c /lib/Net/HTTP/Spore/Meta/Method.pm
parentclean up types (diff)
downloadnet-http-spore-f233196fa9155ee4bc46cebd85052bd5cfcaa36d.tar.gz
make sure authentication default on method is lazy
if it's not marked lazy, the predicate has no value (as it's always set
at object creation time)
Diffstat (limited to 'lib/Net/HTTP/Spore/Meta/Method.pm')
-rw-r--r--lib/Net/HTTP/Spore/Meta/Method.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Net/HTTP/Spore/Meta/Method.pm b/lib/Net/HTTP/Spore/Meta/Method.pm
index 50e9f92..cc48230 100644
--- a/lib/Net/HTTP/Spore/Meta/Method.pm
+++ b/lib/Net/HTTP/Spore/Meta/Method.pm
@@ -29,6 +29,7 @@ has authentication => (
     isa       => Boolean,
     predicate => 'has_authentication',
     default   => 0,
+    lazy      => 1,
     coerce    => 1,
 );
 has base_url => (