summary refs log tree commit diff
path: root/lib/MooseX/Net/API/Meta/Method.pm
blob: e9ceca7cc9f8c25bae4f95ff0aad8ed3c97aff40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package MooseX::Net::API::Meta::Method;

use Moose;
extends 'Moose::Meta::Method';

has description => ( is => 'ro', isa => 'Str' );
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;
    my %args  = @_;
    $class->SUPER::wrap(@_);
}

1;