DRI/DRD/TELEGreenland.pm

filter: Statementstmt 64.0% 16 / 25 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 45.4% 5 / 11 Podpod 66.6% 4 / 6 totaltotal 56.8% 25 / 44 CC 2 SCAR 8.1
CC
2
Cov
59%
transport_protocol_default
6.0
periods
2.0
name
2.0
CRAP 2.2
« DRI/BaseClass.pm ↑ Summary DRI/DRD/IITCNR.pm »
1 ## Domain Registry Interface, TELEGreenland (.GL) Registry Driver for Net::DRI
2 ##
3 ## Copyright (c) 2010,2011,2016 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.
4 ##
5 ## This file is part of Net::DRI
6 ##
7 ## Net::DRI is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; either version 2 of the License, or
10 ## (at your option) any later version.
11 ##
12 ## See the LICENSE file that comes with this distribution for more details.
13 #########################################################################################
14  
15 package Net::DRI::DRD::TELEGreenland;
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 1 ▶use base qw/Net::DRI::DRD/;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 1 ▶use DateTime::Duration;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use DateTime;
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 =pod
26  
27 =head1 NAME
28  
29 Net::DRI::DRD::TELEGreenland - .GL Registry driver for Net::DRI
30  
31 =head1 DESCRIPTION
32  
33 Please see the README file for details.
34  
35 As .GL is not yet in production, modifications may be needed.
36  
37 Only little testing has been done, but basic contact and domain functions are working.
38  
39 However, .GL is currently implementing a vanilla CoCCA system.
40  
41 =head1 SUPPORT
42  
43 For now, support questions should be sent to:
44  
45 E<lt>netdri@dotandco.comE<gt>
46  
47 Please also see the SUPPORT file in the distribution.
48  
49 =head1 SEE ALSO
50  
51 E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt>
52  
53 =head1 AUTHOR
54  
55 Patrick Mevzek, E<lt>netdri@dotandco.comE<gt>
56  
57 =head1 COPYRIGHT
58  
59 Copyright (c) 2010,2011,2016 Patrick Mevzek <netdri@dotandco.com>.
60 All rights reserved.
61  
62 This program is free software; you can redistribute it and/or modify
63 it under the terms of the GNU General Public License as published by
64 the Free Software Foundation; either version 2 of the License, or
65 (at your option) any later version.
66  
67 See the LICENSE file that comes with this distribution for more details.
68  
69 =cut
70  
71 ####################################################################################################
72  
73 0 ▶sub periods { return map { DateTime::Duration->new(years => $_) } (1..5); }
Subroutine periods: not called CC=1 SCAR=6.9
Pod documented
74 0 ▶sub name { return 'TELEGreenland'; }
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
75 0 ▶sub tlds { return (qw/gl co.gl com.gl net.gl edu.gl org.gl/); }
Subroutine tlds: not called CC=1 SCAR=6.9
Pod documented
76 0 ▶sub object_types { return ('domain','ns','contact'); }
Subroutine object_types: not called CC=1 SCAR=6.9
Pod documented
77 0 ▶sub profile_types { return qw/epp/; }
Subroutine profile_types: not called CC=1 SCAR=6.9
Pod undocumented
78  
79 sub transport_protocol_default
80 0 ▶{
Subroutine transport_protocol_default: not called CC=2 SCAR=17.9
Pod undocumented
81 0 my ($self,$type)=@_;
82  
83 0 ▶ return ('Net::DRI::Transport::Socket',{remote_host => 'registry.nic.gl'},'Net::DRI::Protocol::EPP::Extensions::GL',{}) if $type eq 'epp';
Branch: 1 branch
BranchTrueFalseTotal
if $type eq "epp" 0 0 0
84 0 return;
85 }
86  
87 ####################################################################################################
88  
89 ####################################################################################################
90 1 1;
« DRI/BaseClass.pm ↑ Summary DRI/DRD/IITCNR.pm »