blib/lib/XML/SRS/AckMessage.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 | |||||||
2 | package XML::SRS::AckMessage; | ||||||
3 | |||||||
4 | 1 | 1 | 1435 | use Moose; | |||
0 | |||||||
0 | |||||||
5 | use PRANG::Graph; | ||||||
6 | use XML::SRS::Types; | ||||||
7 | |||||||
8 | sub root_element { | ||||||
9 | "AckMessage"; | ||||||
10 | } | ||||||
11 | |||||||
12 | has_attr 'transaction_id' => | ||||||
13 | is => "ro", | ||||||
14 | isa => "XML::SRS::UID", | ||||||
15 | xml_name => "TransId", | ||||||
16 | required => 1, | ||||||
17 | ; | ||||||
18 | |||||||
19 | has_attr 'originating_registrar' => | ||||||
20 | is => "ro", | ||||||
21 | isa => "Str", | ||||||
22 | xml_name => "OriginatingRegistrarId", | ||||||
23 | ; | ||||||
24 | |||||||
25 | with 'XML::SRS::Action'; | ||||||
26 | 1; |