File Coverage

blib/lib/XML/EPP/Host/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::Host::Notification;
2              
3 1     1   2525 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             sub root_element { "panData" }
6              
7             with
8             'XML::EPP::Host::RS',
9             'XML::EPP::Host::Node',
10             ;
11              
12             use XML::EPP::Host::Notification::Result;
13             has_element 'name_result' =>
14             is => "ro",
15             isa => "XML::EPP::Host::Notification::Result",
16             handles => [qw(name approved)],
17             xml_nodeName => "name",
18             required => 1,
19             ;
20              
21             has_element 'tx_id' =>
22             is => "ro",
23             isa => "XML::EPP::TrID",
24             xml_nodeName => "paTRID",
25             required => 1,
26             ;
27              
28             has_element 'tx_when' =>
29             is => "ro",
30             isa => "PRANG::XMLSchema::dateTime",
31             xml_nodeName => "paDate",
32             ;
33              
34             1;
35              
36             =head1 NAME
37              
38             XML::EPP::Host::Notification - implement panDataType
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="host:paNameType"/>
56             <element name="paTRID" type="epp:trIDType"/>
57             <element name="paDate" type="dateTime"/>
58             </sequence>
59             </complexType>
60              
61             =cut