File Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/Afilias.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             ## Domain Registry Interface, Afilias EPP extensions
2             ##
3             ## Copyright (c) 2007,2008,2009 Tonnerre Lombard . All rights reserved.
4             ## (c) 2010,2013 Patrick Mevzek . All rights reserved.
5             ##
6             ## This file is part of Net::DRI
7             ##
8             ## Net::DRI is free software; you can redistribute it and/or modify
9             ## it under the terms of the GNU General Public License as published by
10             ## the Free Software Foundation; either version 2 of the License, or
11             ## (at your option) any later version.
12             ##
13             ## See the LICENSE file that comes with this distribution for more details.
14             ####################################################################################################
15              
16             package Net::DRI::Protocol::EPP::Extensions::Afilias;
17              
18 3     3   1609 use strict;
  3         5  
  3         72  
19 3     3   9 use warnings;
  3         3  
  3         61  
20              
21 3     3   14 use base qw/Net::DRI::Protocol::EPP/;
  3         3  
  3         837  
22              
23             =pod
24              
25             =head1 NAME
26              
27             Net::DRI::Protocol::EPP::Extensions::Afilias - Afilias (.ORG & various ccTLDs) EPP extensions for Net::DRI
28              
29             =head1 DESCRIPTION
30              
31             Please see the README file for details.
32              
33             =head1 SUPPORT
34              
35             For now, support questions should be sent to:
36              
37             Enetdri@dotandco.comE
38              
39             Please also see the SUPPORT file in the distribution.
40              
41             =head1 SEE ALSO
42              
43             Ehttp://www.dotandco.com/services/software/Net-DRI/E
44              
45             =head1 AUTHOR
46              
47             Tonnerre Lombard Etonnerre.lombard@sygroup.chE
48              
49             =head1 COPYRIGHT
50              
51             Copyright (c) 2007,2008,2009 Tonnerre Lombard .
52             (c) 2010,2013 Patrick Mevzek . All rights reserved.
53             All rights reserved.
54              
55             This program is free software; you can redistribute it and/or modify
56             it under the terms of the GNU General Public License as published by
57             the Free Software Foundation; either version 2 of the License, or
58             (at your option) any later version.
59              
60             See the LICENSE file that comes with this distribution for more details.
61              
62             =cut
63              
64             ####################################################################################################
65              
66             sub setup
67             {
68             my ($self,$rp)=@_;
69             $self->ns({ oxrs => ['urn:afilias:params:xml:ns:oxrs-1.1','oxrs-1.1.xsd'] });
70             return;
71             }
72              
73             sub default_extensions { return qw/Afilias::Message Afilias::IDNLanguage Afilias::Restore GracePeriod SecDNS/; }
74              
75             ####################################################################################################
76             1;