summary refs log tree commit diff
path: root/lib/MooseX/Net/API
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-20 15:53:00 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-20 15:53:00 +0100
commitaf316b90311167c681b5e467e4abbcd86b412407 (patch)
treeca9aeab993389a19ac7f03057aad027dcf8c50a5 /lib/MooseX/Net/API
parentremove and update some tests (diff)
downloadmoosex-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.pm1
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;