File Coverage

blib/lib/XML/EPP/Domain/Info.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::Domain::Info;
2              
3 1     1   2854 use Moose;
  0            
  0            
4             use PRANG::Graph;
5              
6             sub root_element { 'info' }
7              
8             with 'XML::EPP::Domain::RQ', 'XML::EPP::Domain::Node';
9              
10             use XML::EPP::Domain::Info::Name;
11              
12             has_element 'name' =>
13             is => 'ro',
14             isa => 'XML::EPP::Domain::Info::Name',
15             required => 1,
16             ;
17              
18             has_element 'auth_info' =>
19             is => 'ro',
20             isa => 'XML::EPP::Domain::AuthInfo',
21             xml_required => 0,
22             xml_nodeName => 'authInfo',
23             predicate => 'has_auth_info',
24             ;
25              
26             1;
27              
28             =head1 NAME
29              
30             ? - implement ?
31              
32             =head1 SYNOPSIS
33              
34             TODO
35              
36             =head1 DESCRIPTION
37              
38             ...
39              
40             =head2 XML Schema Definition
41              
42             <!--
43             Child elements of the <info> command.
44             -->
45             <complexType name="infoType">
46             <sequence>
47             <element name="name" type="domain:infoNameType"/>
48             <element name="authInfo" type="domain:authInfoType"
49             minOccurs="0"/>
50             </sequence>
51             </complexType>
52              
53             =cut