diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-10-17 21:42:11 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-10-17 21:42:11 +0200 |
| commit | 78e3b82f6155675f3dba1bab7b434bf060ce46ab (patch) | |
| tree | dc364a01ce3c78e2a959f6514d68f23fd4be02ba /lib/Net/HTTP/Spore/Role | |
| parent | simplify github example (diff) | |
| download | net-http-spore-78e3b82f6155675f3dba1bab7b434bf060ce46ab.tar.gz | |
reflect specification update
Diffstat (limited to 'lib/Net/HTTP/Spore/Role')
| -rw-r--r-- | lib/Net/HTTP/Spore/Role/Description.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Net/HTTP/Spore/Role/Description.pm b/lib/Net/HTTP/Spore/Role/Description.pm index b435643..213955d 100644 --- a/lib/Net/HTTP/Spore/Role/Description.pm +++ b/lib/Net/HTTP/Spore/Role/Description.pm @@ -5,23 +5,23 @@ package Net::HTTP::Spore::Role::Description; use Moose::Role; use MooseX::Types::URI qw/Uri/; -has api_base_url => ( +has base_url => ( is => 'rw', isa => Uri, coerce => 1, required => 1, ); -has api_format => ( +has formats => ( is => 'rw', isa => 'ArrayRef', - predicate => 'has_api_format', + predicate => 'has_formats', ); -has api_authentication => ( +has authentication => ( is => 'rw', isa => 'Bool', - predicate => 'has_api_authentication', + predicate => 'has_authentication', ); 1; |
