diff options
author | franck cuny <franck@lumberjaph.net> | 2009-12-20 15:53:00 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2009-12-20 15:53:00 +0100 |
commit | af316b90311167c681b5e467e4abbcd86b412407 (patch) | |
tree | ca9aeab993389a19ac7f03057aad027dcf8c50a5 /lib/MooseX/Net/API | |
parent | remove and update some tests (diff) | |
download | moosex-net-api-af316b90311167c681b5e467e4abbcd86b412407.tar.gz |
add expected code, error, remove croak
Diffstat (limited to 'lib/MooseX/Net/API')
-rw-r--r-- | lib/MooseX/Net/API/Meta/Method.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MooseX/Net/API/Meta/Method.pm b/lib/MooseX/Net/API/Meta/Method.pm index 74f9a07..e9ceca7 100644 --- a/lib/MooseX/Net/API/Meta/Method.pm +++ b/lib/MooseX/Net/API/Meta/Method.pm @@ -8,6 +8,7 @@ has path => ( is => 'ro', isa => 'Str', required => 1 ); has method => ( is => 'ro', isa => 'Str', required => 1 ); has params => ( is => 'ro', isa => 'ArrayRef', required => 0 ); has required => ( is => 'ro', isa => 'ArrayRef', required => 0 ); +has expected => ( is => 'ro', isa => 'ArrayRef', required => 0 ); sub new { my $class = shift; |