| 1 | ## Domain Registry Interface, CIRA (.CA) EPP extensions | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2010,2015,2018-2019 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::Protocol::EPP::Extensions::CIRA; | ||
| 16 | |||
| 17 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 2 | ▶ | use base qw/Net::DRI::Protocol::EPP/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | use Net::DRI::Data::Contact::CIRA; | ||
| 23 | |||
| 24 | #################################################################################################### | ||
| 25 | |||
| 26 | sub setup | ||
| 27 | { | ||
| 28 | my ($self,$rp)=@_; | ||
| 29 | |||
| 30 | $self->factories('contact',sub { return Net::DRI::Data::Contact::CIRA->new(); }); | ||
| 31 | $self->default_parameters({domain_create => { auth => { pw => '' } } }); ## authInfo not used by CIRA | ||
| 32 | return; | ||
| 33 | } | ||
| 34 | |||
| 35 | sub default_extensions { return qw/CIRA::Fury GracePeriod SecDNS/; } | ||
| 36 | |||
| 37 | #################################################################################################### | ||
| 38 | 1; | ||
| 39 | |||
| 40 | __END__ | ||