File Coverage

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


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