File Coverage

blib/lib/XML/EPP/Common/Reason.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              
2             package XML::EPP::Common::Reason;
3              
4 1     1   2691 use Moose;
  0            
  0            
5             use MooseX::Method::Signatures;
6             use Moose::Util::TypeConstraints;
7             use PRANG::Graph;
8              
9             our $SCHEMA_PKG = "XML::EPP::Common";
10              
11             has_attr 'lang' =>
12             is => "rw",
13             isa => "PRANG::XMLSchema::language",
14             predicate => "has_lang",
15             ;
16              
17             has_element 'content' =>
18             is => "rw",
19             isa => "${SCHEMA_PKG}::reasonBaseType",
20             xml_nodeName => "",
21             ;
22              
23             with "${SCHEMA_PKG}::Node";
24              
25             subtype "${SCHEMA_PKG}::reasonType"
26             => as __PACKAGE__;
27              
28             1;
29              
30             =head NAME
31              
32             XML::EPP::Common::Reason
33              
34             =head1 SYNOPSIS
35              
36             TODO
37              
38             =head1 DESCRIPTION
39              
40             TODO
41              
42             =head2 XML Schema Definition
43              
44             <!--
45             <check> response types.
46             -->
47             <complexType name="reasonType">
48             <simpleContent>
49             <extension base="eppcom:reasonBaseType">
50             <attribute name="lang" type="language"/>
51             </extension>
52             </simpleContent>
53             </complexType>
54              
55             =cut