File Coverage

blib/lib/XML/EPP/Contact/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::Contact::Update;
3              
4 1     1   2474 use Moose;
  0            
  0            
5             use PRANG::Graph;
6              
7             sub root_element { 'update' }
8              
9             with 'XML::EPP::Contact::RQ', 'XML::EPP::Contact::Node';
10              
11             has_element 'id' =>
12             is => 'ro',
13             isa => 'XML::EPP::Common::labelType',
14             ;
15              
16             use XML::EPP::Contact::AddRem;
17             has_element 'add' =>
18             is => 'ro',
19             isa => 'XML::EPP::Contact::AddRem',
20             xml_required => 0,
21             ;
22              
23             has_element 'remove' =>
24             is => 'ro',
25             isa => 'XML::EPP::Contact::AddRem',
26             xml_required => 0,
27             xml_nodeName => 'rem',
28             ;
29              
30             has_element 'change' =>
31             is => 'ro',
32             isa => 'XML::EPP::Contact::Change',
33             xml_required => 0,
34             xml_nodeName => 'chg',
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="id" type="eppcom:clIDType"/>
59             <element name="add" type="contact:addRemType"
60             minOccurs="0"/>
61             <element name="rem" type="contact:addRemType"
62             minOccurs="0"/>
63             <element name="chg" type="contact:chgType"
64             minOccurs="0"/>
65             </sequence>
66             </complexType>
67              
68             =cut