File Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/Telnic.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, Telnic (.TEL) EPP extensions
2             ##
3             ## Copyright (c) 2013 Patrick Mevzek . 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::Protocol::EPP::Extensions::Telnic;
16              
17 2     2   1835 use strict;
  2         3  
  2         48  
18 2     2   7 use warnings;
  2         3  
  2         47  
19              
20 2     2   8 use base qw/Net::DRI::Protocol::EPP/;
  2         3  
  2         438  
21              
22             ####################################################################################################
23              
24             sub setup
25             {
26             my ($self,$rp)=@_;
27             $self->ns({
28             neulevel => ['urn:ietf:params:xml:ns:neulevel-1.0','neulevel-1.0.xsd'],
29             });
30             $self->capabilities('domain_update','whois_type',['set']);
31              
32             return;
33             }
34              
35             sub default_extensions { return qw/NeuLevel::IDNLanguage NeuLevel::UIN NeuLevel::WhoisType/; }
36              
37             ####################################################################################################
38             1;