File Coverage

blib/lib/XML/SRS/ACL/Entry.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              
2             package XML::SRS::ACL::Entry;
3             BEGIN {
4 1     1   3284 $XML::SRS::ACL::Entry::VERSION = '0.09';
5             }
6              
7 1     1   462 use Moose;
  0            
  0            
8             use PRANG::Graph;
9              
10             has_attr 'Address' =>
11             is => "ro",
12             isa => "Str", # actually an IPv4/IPv6 address/network
13             xml_required => 0,
14             ;
15              
16             has_attr 'DomainName' =>
17             is => "ro",
18             isa => "Str", # actually an valid domain name
19             xml_required => 0,
20             ;
21              
22             has_attr 'RegistrarId' =>
23             is => "ro",
24             isa => "XML::SRS::RegistrarId",
25             xml_required => 0,
26             ;
27              
28             has_attr 'Comment' =>
29             is => "ro",
30             isa => "Str",
31             xml_required => 0,
32             ;
33              
34             has_element 'effective' =>
35             is => "ro",
36             isa => "XML::SRS::TimeStamp",
37             xml_nodeName => "EffectiveDate",
38             predicate => "has_effective",
39             ;
40              
41             with 'XML::SRS::Node';
42              
43             1;