DRI/Protocol/EPP/Extensions/CZ.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/COZA.pm ↑ Summary DRI/Protocol/EPP/Extensions/CentralNic.pm »
1 ## Domain Registry Interface, .CZ EPP extensions
2 ##
3 ## Copyright (c) 2008,2009,2013 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>.
4 ## Copyright (c) 2018 Patrick Mevzek <netdri@dotandco.com>.
5 ## All rights reserved.
6 ##
7 ## This file is part of Net::DRI
8 ##
9 ## Net::DRI is free software; you can redistribute it and/or modify
10 ## it under the terms of the GNU General Public License as published by
11 ## the Free Software Foundation; either version 2 of the License, or
12 ## (at your option) any later version.
13 ##
14 ## See the LICENSE file that comes with this distribution for more details.
15 ####################################################################################################
16  
17 package Net::DRI::Protocol::EPP::Extensions::CZ;
18  
19 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 2 ▶use base qw/Net::DRI::Protocol::EPP/;
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 =pod
25  
26 =head1 NAME
27  
28 Net::DRI::Protocol::EPP::Extensions::CZ - .CZ EPP extensions for Net::DRI
29  
30 =head1 DESCRIPTION
31  
32 Please see the README file for details.
33  
34 =head1 SUPPORT
35  
36 For now, support questions should be sent to:
37  
38 E<lt>development@sygroup.chE<gt>
39  
40 Please also see the SUPPORT file in the distribution.
41  
42 =head1 SEE ALSO
43  
44 E<lt>http://oss.bsdprojects.net/projects/netdri/E<gt> or
45 E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt>
46  
47 =head1 AUTHOR
48  
49 Tonnerre Lombard, E<lt>tonnerre.lombard@sygroup.chE<gt>
50  
51 =head1 COPYRIGHT
52  
53 Copyright (c) 2008,2009,2013 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>.
54 Copyright (c) 2018 Patrick Mevzek <netdri@dotandco.com>.
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->{defaulti18ntype}='loc'; # The registry does not provide contact postalinfo i18n type, although it is mandatory by EPP
72 $self->ns({ domain => 'http://www.nic.cz/xml/epp/domain-1.4',
73 contact => 'http://www.nic.cz/xml/epp/contact-1.5',
74 });
75 $self->capabilities('domain_update','status',undef);
76 $self->capabilities('domain_update','nsset',['set']);
77 $self->capabilities('nsset_update','ns',['add','del']);
78 $self->capabilities('nsset_update','contact',['add','del']);
79 $self->capabilities('nsset_update','auth',['set']);
80 $self->capabilities('nsset_update','reportlevel',['set']);
81 return;
82 }
83  
84 sub core_contact_types { return ('admin','tech','billing','onsite'); }
85 sub default_extensions { return qw/CZ::NSSET CZ::Contact CZ::Domain NSgroup/; }
86  
87 ####################################################################################################
88 1;
« DRI/Protocol/EPP/Extensions/COZA.pm ↑ Summary DRI/Protocol/EPP/Extensions/CentralNic.pm »