EPP/Contact/Addr.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EPP/Contact/AddRem.pm ↑ Summary EPP/Contact/AuthInfo.pm »
1 package XML::EPP::Contact::Addr;
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 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 with 'XML::EPP::Contact::Node';
8  
9 my $PKG = __PACKAGE__;
10  
11 has_element 'street' =>
12 is => 'ro',
13 isa => 'ArrayRef[XML::EPP::Contact::optPostalLineType]',
14 xml_min => 0,
15 xml_max => 3,
16 ;
17  
18 has_element 'city' =>
19 is => 'ro',
20 isa => 'XML::EPP::Contact::postalLineType',
21 ;
22  
23 has_element 'sp' =>
24 is => 'ro',
25 isa => 'XML::EPP::Contact::optPostalLineType',
26 required => 0,
27 ;
28  
29 has_element 'pc' =>
30 is => 'ro',
31 isa => 'XML::EPP::Contact::optPostalLineType',
32 required => 0,
33 ;
34  
35 has_element 'cc' =>
36 is => 'ro',
37 isa => 'XML::EPP::Contact::ccType',
38 ;
39  
40 1;
41  
42 =head1 NAME
43  
44 XML::EPP::Contact::Addr - implement host:chgType
45  
46 =head1 SYNOPSIS
47  
48 TODO
49  
50 =head1 DESCRIPTION
51  
52 ...
53  
54 =head2 XML Schema Definition
55  
56 <complexType name="addrType">
57 <sequence>
58 <element name="street" type="contact:optPostalLineType"
59 minOccurs="0" maxOccurs="3"/>
60 <element name="city" type="contact:postalLineType"/>
61 <element name="sp" type="contact:optPostalLineType"
62 minOccurs="0"/>
63 <element name="pc" type="contact:pcType"
64 minOccurs="0"/>
65 <element name="cc" type="contact:ccType"/>
66 </sequence>
67 </complexType>
68  
69 =cut
« EPP/Contact/AddRem.pm ↑ Summary EPP/Contact/AuthInfo.pm »