File Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/NAME.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, .NAME EPP extensions
2             ##
3             ## Copyright (c) 2007-2009 Tonnerre Lombard . All rights reserved.
4             ## (c) 2010,2012 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::NAME;
17              
18 2     2   1431 use strict;
  2         3  
  2         65  
19 2     2   8 use warnings;
  2         4  
  2         52  
20              
21 2     2   8 use base qw/Net::DRI::Protocol::EPP/;
  2         4  
  2         511  
22              
23             use Net::DRI::Protocol::EPP::Extensions::NAME::EmailFwd;
24              
25             =pod
26              
27             =head1 NAME
28              
29             Net::DRI::Protocol::EPP::Extensions::NAME - .NAME EPP extensions for Net::DRI
30              
31             =head1 DESCRIPTION
32              
33             Please see the README file for details.
34              
35             =head1 SUPPORT
36              
37             For now, support questions should be sent to:
38              
39             Etonnerre.lombard@sygroup.chE
40              
41             Please also see the SUPPORT file in the distribution.
42              
43             =head1 SEE ALSO
44              
45             Ehttp://www.dotandco.com/services/software/Net-DRI/E or
46             Ehttp://oss.bsdprojects.net/projects/netdri/E
47              
48             =head1 AUTHOR
49              
50             Tonnerre Lombard, Etonnerre.lombard@sygroup.chE
51              
52             =head1 COPYRIGHT
53              
54             Copyright (c) 2007-2009 Tonnerre Lombard .
55             (c) 2010,2012 Patrick Mevzek
56             All rights reserved.
57              
58             This program is free software; you can redistribute it and/or modify
59             it under the terms of the GNU General Public License as published by
60             the Free Software Foundation; either version 2 of the License, or
61             (at your option) any later version.
62              
63             See the LICENSE file that comes with this distribution for more details.
64              
65             =cut
66              
67             ####################################################################################################
68              
69             sub setup
70             {
71             my ($self,$rp)=@_;
72             $self->ns({ emailFwd => ['http://www.nic.name/epp/emailFwd-1.0','emailFwd-1.0.xsd'] });
73             $self->capabilities('emailfwd_update','info',['set']);
74             return;
75             }
76              
77             sub default_extensions { return qw/NAME::EmailFwd VeriSign::IDNLanguage GracePeriod SecDNS/; }
78              
79             ####################################################################################################
80             1;