| 1 | |||
| 2 | package XML::SRS::Response; | ||
| 3 | |||
| 4 | 5 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 5 | ▶ | use Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 5 | ▶ | use MooseX::Method::Signatures; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 5 | ▶ | use XML::SRS::Types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | ▶ | use XML::SRS::Result; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 10 | use XML::SRS::Error; | ||
| 11 | |||
| 12 | has_attr "registrar_id" => | ||
| 13 | is => "ro", | ||
| 14 | isa => "XML::SRS::RegistrarId", | ||
| 15 | xml_required => 0, | ||
| 16 | xml_name => "RegistrarId", | ||
| 17 | ; | ||
| 18 | |||
| 19 | has_element "results" => | ||
| 20 | is => "ro", | ||
| 21 | isa => "ArrayRef[XML::SRS::Result|XML::SRS::Error]", | ||
| 22 | xml_nodeName => { | ||
| 23 | Response => "XML::SRS::Result", | ||
| 24 | Error => "XML::SRS::Error", | ||
| 25 | }, | ||
| 26 | ; | ||
| 27 | |||
| 28 | sub root_element { "NZSRSResponse" } | ||
| 29 | with 'XML::SRS', 'XML::SRS::Node', 'XML::SRS::Version'; | ||
| 30 | |||
| 31 | sub BUILDARGS { | ||
| 32 | my $inv = shift; | ||
| 33 | my %args = @_; | ||
| 34 | if ( $args{version} ) { | ||
| 35 | %args = (%args, $inv->buildargs_version($args{version})); | ||
| 36 | } | ||
| 37 | \%args; | ||
| 38 | } | ||
| 39 | |||
| 40 | 1; | ||
| 41 | |||