File Coverage

blib/lib/XML/EPP/Contact/Change.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::Contact::Change;
2              
3 1     1   2433 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             with 'XML::EPP::Contact::Node';
6              
7             use PRANG::XMLSchema::Types;
8              
9             use XML::EPP::Contact::ChangePostalInfo;
10             has_element 'postal_info' =>
11             is => 'ro',
12             isa => 'XML::EPP::Contact::ChangePostalInfo',
13             xml_nodeName => 'postalInfo',
14             required => 1,
15             ;
16              
17             use XML::EPP::Contact::E164;
18             has_element 'voice' =>
19             is => 'ro',
20             isa => 'XML::EPP::Contact::E164',
21             xml_required => 0,
22             ;
23              
24             has_element 'fax' =>
25             is => 'ro',
26             isa => 'XML::EPP::Contact::E164',
27             xml_required => 0,
28             ;
29              
30             has_element 'email' =>
31             is => 'ro',
32             isa => 'XML::EPP::Common::minTokenType',
33             xml_required => 0,
34             ;
35              
36             has_element 'auth_info' =>
37             is => 'ro',
38             isa => 'XML::EPP::Contact::AuthInfo',
39             xml_required => 0,
40             xml_nodeName => 'authInfo',
41             ;
42              
43             has_element 'disclose' =>
44             is => 'ro',
45             isa => 'XML::EPP::Contact::Disclose',
46             xml_required => 0,
47             ;
48              
49             1;
50              
51             =head1 NAME
52              
53             ? - implement ?
54              
55             =head1 SYNOPSIS
56              
57             TODO
58              
59             =head1 DESCRIPTION
60              
61             ...
62              
63             =head2 XML Schema Definition
64              
65             <!--
66             Data elements that can be changed.
67             -->
68             <complexType name="chgType">
69             <sequence>
70             <element name="postalInfo" type="contact:chgPostalInfoType"
71             minOccurs="0" maxOccurs="2"/>
72             <element name="voice" type="contact:e164Type"
73             minOccurs="0"/>
74             <element name="fax" type="contact:e164Type"
75             minOccurs="0"/>
76             <element name="email" type="eppcom:minTokenType"
77             minOccurs="0"/>
78             <element name="authInfo" type="contact:authInfoType"
79             minOccurs="0"/>
80             <element name="disclose" type="contact:discloseType"
81             minOccurs="0"/>
82             </sequence>
83             </complexType>
84              
85             =cut