From af316b90311167c681b5e467e4abbcd86b412407 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 20 Dec 2009 15:53:00 +0100 Subject: add expected code, error, remove croak --- lib/MooseX/Net/API/Meta/Method.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/MooseX/Net/API/Meta') 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; -- cgit 1.4.1