summary refs log tree commit diff
path: root/lib/MooseX/Net/API/Meta/Method.pm
blob: 74f9a07f807c40661bee645ce667cee147b47eeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 );

sub new {
    my $class = shift;
    my %args  = @_;
    $class->SUPER::wrap(@_);
}

1;