File Coverage

blib/lib/XML/EPP/Domain/Transfer.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::Transfer;
2              
3 1     1   2499 use Moose;
  0            
  0            
4             use PRANG::Graph;
5              
6             sub root_element { 'transfer' }
7              
8             with
9             'XML::EPP::Domain::RQ',
10             'XML::EPP::Domain::Node',
11             ;
12              
13             use XML::EPP::Domain::Info::Name;
14              
15             has_element 'name' =>
16             is => 'ro',
17             isa => 'XML::EPP::Common::labelType',
18             ;
19              
20             use XML::EPP::Domain::Period;
21             has_element 'period' =>
22             is => 'ro',
23             isa => 'XML::EPP::Domain::Period',
24             xml_required => 0,
25             ;
26              
27             has_element 'auth_info' =>
28             is => 'ro',
29             isa => 'XML::EPP::Domain::AuthInfo',
30             xml_required => 0,
31             xml_nodeName => 'authInfo',
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             Child elements of the <transfer> command.
52             -->
53             <complexType name="transferType">
54             <sequence>
55             <element name="name" type="eppcom:labelType"/>
56             <element name="period" type="domain:periodType"
57             minOccurs="0"/>
58             <element name="authInfo" type="domain:authInfoType"
59             minOccurs="0"/>
60             </sequence>
61             </complexType>
62              
63             =cut