File Coverage

blib/lib/XML/SRS/Message/Ack/Response.pm
Criterion Covered Total %
statement 2 4 50.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 4 6 66.6


line stmt bran cond sub pod time code
1             package XML::SRS::Message::Ack::Response;
2             BEGIN {
3 1     1   2042 $XML::SRS::Message::Ack::Response::VERSION = '0.09';
4             }
5              
6             # response to a GetMessages QueueMode=1
7              
8 1     1   385 use Moose;
  0            
  0            
9             use PRANG::Graph;
10              
11             has_attr 'registrar_id' =>
12             is => "rw",
13             isa => "Str",
14             isa => "XML::SRS::UID",
15             required => 1,
16             xml_name => "OriginatingRegistrarId",
17             ;
18              
19             has_attr 'tx_id' =>
20             is => "ro",
21             isa => "XML::SRS::UID",
22             xml_name => "TransId",
23             required => 1,
24             ;
25              
26             has_attr 'remaining' =>
27             is => "ro",
28             isa => "Int",
29             xml_name => "Remaining",
30             ;
31              
32             sub root_element {"AckResponse"}
33             with 'XML::SRS::ActionResponse', 'XML::SRS::Node';
34              
35             1;
36