EPP/Contact/AuthInfo.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/Addr.pm ↑ Summary EPP/Contact/Check/ID.pm »
1 package XML::EPP::Contact::AuthInfo;
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 subtype "${PKG}::choice0"
12 => as 'XML::EPP::Common::Password|XML::EPP::Common::ExtPassword'
13 ;
14  
15 has_element 'pw' =>
16 is => "rw",
17 isa => "${PKG}::choice0",
18 required => 1,
19 xml_nodeName => {
20 "pw" => "XML::EPP::Common::Password",
21 "ext" => "XML::EPP::Common::ExtPassword",
22 },
23 ;
24  
25 1;
26  
27 =head1 NAME
28  
29 ? - implement ?
30  
31 =head1 SYNOPSIS
32  
33 TODO
34  
35 =head1 DESCRIPTION
36  
37 ...
38  
39 =head2 XML Schema Definition
40  
41 <complexType name="authInfoType">
42 <choice>
43 <element name="pw" type="eppcom:pwAuthInfoType"/>
44 <element name="ext" type="eppcom:extAuthInfoType"/>
45 </choice>
46 </complexType>
47  
48 =cut
« EPP/Contact/Addr.pm ↑ Summary EPP/Contact/Check/ID.pm »