File Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/ICMRegistry.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, ICMRegistry (.XXX) 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::ICMRegistry;
16              
17 2     2   1099 use strict;
  2         2  
  2         46  
18 2     2   6 use warnings;
  2         3  
  2         40  
19              
20 2     2   6 use base qw/Net::DRI::Protocol::EPP/;
  2         2  
  2         441  
21              
22             ####################################################################################################
23              
24             sub setup
25             {
26             my ($self,$rp)=@_;
27             $self->ns({
28             ipr => ['urn:afilias:params:xml:ns:ipr-1.1','ipr-1.1.xsd'],
29             association => ['urn:afilias:params:xml:ns:association-1.0','association-1.0.xsd'],
30             oxrs => ['urn:afilias:params:xml:ns:oxrs-1.1','oxrs-1.1.xsd'],
31             });
32             return;
33             }
34              
35             sub capabilities_add { return ('domain_update','association',['add','del','set']); }
36             sub default_extensions { return qw/Afilias::IPR Afilias::IDNLanguage Afilias::Restore Afilias::Message Afilias::Association/; }
37              
38             ####################################################################################################
39             1;
40              
41             __END__