EPP/Domain/HostAttr.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EPP/Domain/Contact.pm ↑ Summary EPP/Domain/Info/Name.pm »
1 package XML::EPP::Domain::HostAttr;
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::Domain::Node';
6  
7 has_element 'name' =>
8 is => 'ro',
9 isa => 'XML::EPP::Common::labelType',
10 xml_nodeName => 'hostName',
11 ;
12  
13 has_attr 'addrs' =>
14 is => 'ro',
15 isa => 'ArrayRef[XML::EPP::Host::Address]',
16 xml_required => 0,
17 ;
18  
19 #use Moose::Util::TypeConstraints;
20 #subtype "XML::EPP::Domain::statusType" => as __PACKAGE__;
21  
22 1;
23  
24 =head1 NAME
25  
26 ? - implement ?
27  
28 =head1 SYNOPSIS
29  
30 TODO
31  
32 =head1 DESCRIPTION
33  
34 ...
35  
36 =head2 XML Schema Definition
37  
38 <!--
39 If attributes, addresses are optional and follow the
40 structure defined in the host mapping.
41 -->
42 <complexType name="hostAttrType">
43 <sequence>
44 <element name="hostName" type="eppcom:labelType"/>
45 <element name="hostAddr" type="host:addrType"
46 minOccurs="0" maxOccurs="unbounded"/>
47 </sequence>
48 </complexType>
49  
50 =cut
« EPP/Domain/Contact.pm ↑ Summary EPP/Domain/Info/Name.pm »