DRI/Protocol/EPP/Extensions/SWITCH.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/SIDN.pm ↑ Summary DRI/Protocol/EPP/Extensions/TCI.pm »
1 ## Domain Registry Interface, Switch .CH/.LI EPP extensions
2 ##
3 ## Copyright (c) 2008-2010,2013 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>.
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::SWITCH;
17  
18 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 2 ▶use base qw/Net::DRI::Protocol::EPP/;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 use Net::DRI::Data::Contact::SWITCH;
24  
25 =pod
26  
27 =head1 NAME
28  
29 Net::DRI::Protocol::EPP::Extensions::SWITCH - .CH/.LI 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 E<lt>tonnerre.lombard@sygroup.chE<gt>
40  
41 Please also see the SUPPORT file in the distribution.
42  
43 =head1 SEE ALSO
44  
45 E<lt>http://oss.bsdprojects.net/projects/netdri/E<gt> or
46 E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt>
47  
48 =head1 AUTHOR
49  
50 Tonnerre Lombard, E<lt>tonnerre.lombard@sygroup.chE<gt>
51  
52 =head1 COPYRIGHT
53  
54 Copyright (c) 2008-2010,2013 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>.
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 $self->capabilities('domain_update','status',undef);
72 $self->capabilities('contact_update','status',undef);
73 $self->factories('contact',sub { return Net::DRI::Data::Contact::SWITCH->new(); });
74 return;
75 }
76  
77 sub default_extensions { return qw/SecDNS GracePeriod/; }
78  
79 ####################################################################################################
80 1;
« DRI/Protocol/EPP/Extensions/SIDN.pm ↑ Summary DRI/Protocol/EPP/Extensions/TCI.pm »