File Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/SE.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, Net::DRI::Protocol::EPP class for .SE
2             ## Contributed by Elias Sidenbladh and Ulrich Wisser from NIC SE
3             ##
4             ## Copyright (c) 2006,2008-2011 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::SE;
17              
18 1     1   920 use strict;
  1         1  
  1         27  
19 1     1   4 use warnings;
  1         1  
  1         25  
20              
21 1     1   4 use base qw/Net::DRI::Protocol::EPP/;
  1         1  
  1         79  
22              
23             =pod
24              
25             =head1 NAME
26              
27             Net::DRI::Protocol::EPP::Extensions::SE - .SE 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             Enetdri@dotandco.comE
38              
39             Please also see the SUPPORT file in the distribution.
40              
41             =head1 SEE ALSO
42              
43             Ehttp://www.dotandco.com/services/software/Net-DRI/E
44              
45             =head1 AUTHOR
46              
47             Patrick Mevzek, Enetdri@dotandco.comE
48              
49             =head1 COPYRIGHT
50              
51             Copyright (c) 2006,2008-2011 Patrick Mevzek .
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             my $version=$self->version();
69             $self->ns({iis=>['urn:se:iis:xml:epp:iis-1.2','iis-1.2.xsd']}); ## this will be updated if needed after server greeting
70             return;
71             }
72              
73             sub default_extensions { return qw/SE::Extensions SecDNS/; }
74              
75             ####################################################################################################
76             1;