DRI/Protocol/EPP/Extensions/CentralNic.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
« DRI/Protocol/EPP/Extensions/CZ.pm ↑ Summary DRI/Protocol/EPP/Extensions/CloudRegistry.pm »
1 ## Domain Registry Interface, CentralNic EPP extensions
2 ## (http://labs.centralnic.com/epp/ext/)
3 ##
4 ## Copyright (c) 2007-2011,2018 Patrick Mevzek <netdri@dotandco.com>. 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::CentralNic;
17  
18 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 4 ▶use base qw/Net::DRI::Protocol::EPP/;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 =pod
24  
25 =head1 NAME
26  
27 Net::DRI::Protocol::EPP::Extensions::CentralNic - CentralNic 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 E<lt>netdri@dotandco.comE<gt>
38  
39 Please also see the SUPPORT file in the distribution.
40  
41 =head1 SEE ALSO
42  
43 E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt>
44  
45 =head1 AUTHOR
46  
47 Patrick Mevzek, E<lt>netdri@dotandco.comE<gt>
48  
49 =head1 COPYRIGHT
50  
51 Copyright (c) 2007-2011,2018 Patrick Mevzek <netdri@dotandco.com>.
52 All rights reserved.
53  
54 This program is free software; you can redistribute it and/or modify
55 it under the terms of the GNU General Public License as published by
56 the Free Software Foundation; either version 2 of the License, or
57 (at your option) any later version.
58  
59 See the LICENSE file that comes with this distribution for more details.
60  
61 =cut
62  
63 ####################################################################################################
64  
65 sub setup
66 {
67 my ($self,$rp)=@_;
68 $self->ns({ttl => 'urn:centralnic:params:xml:ns:ttl-1.0',
69 wf => 'urn:centralnic:params:xml:ns:wf-1.0',
70 });
71 $self->capabilities('domain_update','ttl',['set']);
72 $self->capabilities('domain_update','web_forwarding',['set']);
73 return;
74 }
75  
76 sub default_extensions { return qw/CentralNic::TTL CentralNic::WebForwarding CentralNic::Release CentralNic::Pricing SecDNS VeriSign::Sync/; }
77  
78 ####################################################################################################
79 1;
« DRI/Protocol/EPP/Extensions/CZ.pm ↑ Summary DRI/Protocol/EPP/Extensions/CloudRegistry.pm »