From 78e3b82f6155675f3dba1bab7b434bf060ce46ab Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 17 Oct 2010 21:42:11 +0200 Subject: reflect specification update --- lib/Net/HTTP/Spore/Role/Description.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/Net/HTTP/Spore/Role') 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; -- cgit v1.2.3