File Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/PRO.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, .PRO EPP extensions
2             ##
3             ## Copyright (c) 2008,2009,2013 Tonnerre Lombard .
4             ## 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::PRO;
17              
18 2     2   1404 use strict;
  2         4  
  2         51  
19 2     2   9 use warnings;
  2         2  
  2         47  
20              
21 2     2   7 use base qw/Net::DRI::Protocol::EPP/;
  2         3  
  2         499  
22              
23             =pod
24              
25             =head1 NAME
26              
27             Net::DRI::Protocol::EPP::Extensions::PRO - .PRO 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             Edevelopment@sygroup.chE
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 and
44             Ehttp://oss.bsdprojects.net/projects/netdri/E
45              
46             =head1 AUTHOR
47              
48             Tonnerre Lombard Etonnerre.lombard@sygroup.chE,
49             Alexander Biehl Einfo@hexonet.netE, HEXONET Support GmbH,
50             Ehttp://www.hexonet.net/E
51              
52             =head1 COPYRIGHT
53              
54             Copyright (c) 2008,2009,2013 Tonnerre Lombard .
55             All rights reserved.
56              
57             This program is free software; you can redistribute it and/or modify
58             it under the terms of the GNU General Public License as published by
59             the Free Software Foundation; either version 2 of the License, or
60             (at your option) any later version.
61              
62             See the LICENSE file that comes with this distribution for more details.
63              
64             =cut
65              
66             ####################################################################################################
67              
68             sub setup
69             {
70             my ($self,$rp)=@_;
71              
72             # Namespaces
73             $self->ns({ av => ['http://registrypro.pro/2003/epp/1/av-2.0', 'av-2.0.xsd'],
74             rpro=> ['http://registrypro.pro/2003/epp/1/rpro-epp-2.0','rpro-epp-2.0.xsd'],
75             });
76             $self->capabilities('domain_update','pro',['set']);
77             return;
78             }
79              
80             sub default_extensions { return qw/PRO::Domain PRO::AV GracePeriod/; }
81              
82             ####################################################################################################
83             1;