File Coverage

blib/lib/XML/EPP/Domain/Notification.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::EPP::Domain::Notification;
2              
3 1     1   2792 use Moose;
  0            
  0            
4             use PRANG::Graph;
5              
6             sub root_element { 'panData' }
7              
8             with
9             'XML::EPP::Domain::RS',
10             'XML::EPP::Domain::Node',
11             ;
12              
13             use XML::EPP::Domain::Notification::Name;
14             has_element 'name' =>
15             is => 'ro',
16             isa => 'XML::EPP::Domain::Notification::Name',
17             required => 1,
18             ;
19              
20             has_element 'tx_id' =>
21             is => 'ro',
22             isa => 'XML::EPP::TrID',
23             xml_nodeName => 'paTRID',
24             required => 1,
25             ;
26              
27             has_element 'completed' =>
28             is => "rw",
29             isa => "PRANG::XMLSchema::dateTime",
30             xml_nodeName => "paDate",
31             required => 1,
32             ;
33              
34             1;
35              
36             =head1 NAME
37              
38             ? - implement ?
39              
40             =head1 SYNOPSIS
41              
42             TODO
43              
44             =head1 DESCRIPTION
45              
46             ...
47              
48             =head2 XML Schema Definition
49              
50             <!--
51             Pending action notification response elements.
52             -->
53             <complexType name="panDataType">
54             <sequence>
55             <element name="name" type="domain:paNameType"/>
56             <element name="paTRID" type="epp:trIDType"/>
57             <element name="paDate" type="dateTime"/>
58             </sequence>
59             </complexType>
60              
61             =cut