EPP/Contact/Change.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 87.5% 14 / 16 CC 1 SCAR 0.7
CC
1
Cov
83%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« EPP/Contact.pm ↑ Summary EPP/Contact/ChangePostalInfo.pm »
1 package XML::EPP::Contact::Change;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 with 'XML::EPP::Contact::Node';
6  
7 1 ▶use PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 0 ▶use XML::EPP::Contact::ChangePostalInfo;
Subroutine BEGIN: called CC=1 SCAR=2.6
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
« EPP/Contact.pm ↑ Summary EPP/Contact/ChangePostalInfo.pm »