File Coverage

blib/lib/XML/EPP/Domain/Renew.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::EPP::Domain::Renew;
3              
4 1     1   3126 use Moose;
  0            
  0            
5             use PRANG::Graph;
6              
7             sub root_element { 'renew' }
8              
9             with 'XML::EPP::Domain::RQ', 'XML::EPP::Domain::Node';
10              
11             has_element 'name' =>
12             is => 'ro',
13             isa => 'XML::EPP::Common::labelType',
14             ;
15              
16             has_element 'expiry_date' =>
17             is => 'ro',
18             isa => 'PRANG::XMLSchema::date',
19             xml_nodeName => 'curExpDate',
20             required => 1,
21             ;
22              
23             use XML::EPP::Domain::Period;
24             has_element 'period' =>
25             is => 'ro',
26             isa => 'XML::EPP::Domain::Period',
27             required => 1,
28             ;
29              
30             1;
31              
32             =head1 NAME
33              
34             ? - implement ?
35              
36             =head1 SYNOPSIS
37              
38             TODO
39              
40             =head1 DESCRIPTION
41              
42             ...
43              
44             =head2 XML Schema Definition
45              
46             <!--
47             Child elements of the <renew> command.
48             -->
49             <complexType name="renewType">
50             <sequence>
51             <element name="name" type="eppcom:labelType"/>
52             <element name="curExpDate" type="date"/>
53             <element name="period" type="domain:periodType"
54             minOccurs="0"/>
55             </sequence>
56             </complexType>
57              
58             =cut