File Coverage

blib/lib/XML/EPP/Domain/Update.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::Update;
3              
4 1     1   2824 use Moose;
  0            
  0            
5             use PRANG::Graph;
6              
7             sub root_element { 'update' }
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             use XML::EPP::Domain::AddRem;
17             has_element 'add' =>
18             is => 'ro',
19             isa => 'XML::EPP::Domain::AddRem',
20             xml_required => 0,
21             ;
22              
23             has_element 'remove' =>
24             is => 'ro',
25             isa => 'XML::EPP::Domain::AddRem',
26             xml_nodeName => 'rem',
27             xml_required => 0,
28             ;
29              
30             has_element 'change' =>
31             is => 'ro',
32             isa => 'XML::EPP::Domain::Change',
33             xml_nodeName => 'chg',
34             xml_required => 0,
35             ;
36              
37             1;
38              
39             =head1 NAME
40              
41             ? - implement ?
42              
43             =head1 SYNOPSIS
44              
45             TODO
46              
47             =head1 DESCRIPTION
48              
49             ...
50              
51             =head2 XML Schema Definition
52              
53             <!--
54             Child elements of the <update> command.
55             -->
56             <complexType name="updateType">
57             <sequence>
58             <element name="name" type="eppcom:labelType"/>
59             <element name="add" type="domain:addRemType"
60             minOccurs="0"/>
61             <element name="rem" type="domain:addRemType"
62             minOccurs="0"/>
63             <element name="chg" type="domain:chgType"
64             minOccurs="0"/>
65             </sequence>
66             </complexType>
67              
68             =cut