| 1 | ## Domain Registry Interface, .ASIA EPP extensions | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2007-2009 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>. All rights reserved. | ||
| 4 | ## (c) 2010,2013,2018 Patrick Mevzek <netdri@dotandco.com>. 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::ASIA; | ||
| 17 | |||
| 18 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 2 | ▶ | use Net::DRI::Data::Contact::ASIA; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 2 | ▶ | use base qw/Net::DRI::Protocol::EPP/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Net::DRI::Protocol::EPP::Extensions::ASIA - .ASIA EPP extensions for Net::DRI | ||
| 29 | |||
| 30 | =head1 DESCRIPTION | ||
| 31 | |||
| 32 | Please see the README file for details. | ||
| 33 | |||
| 34 | =head1 SUPPORT | ||
| 35 | |||
| 36 | For now, support questions should be sent to: | ||
| 37 | |||
| 38 | E<lt>netdri@dotandco.comE<gt> | ||
| 39 | |||
| 40 | Please also see the SUPPORT file in the distribution. | ||
| 41 | |||
| 42 | =head1 SEE ALSO | ||
| 43 | |||
| 44 | E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt> and | ||
| 45 | E<lt>http://oss.bsdprojects.net/projects/netdri/E<gt> | ||
| 46 | |||
| 47 | =head1 AUTHOR | ||
| 48 | |||
| 49 | Tonnerre Lombard E<lt>tonnerre.lombard@sygroup.chE<gt> | ||
| 50 | |||
| 51 | =head1 COPYRIGHT | ||
| 52 | |||
| 53 | Copyright (c) 2007-2009 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>. | ||
| 54 | (c) 2010,2013,2018 Patrick Mevzek <netdri@dotandco.com> | ||
| 55 | All rights reserved. | ||
| 56 | |||
| 57 | This program is free software; you can redistribute it and/or modify | ||
| 58 | it under the terms of the GNU General Public License as published by | ||
| 59 | the Free Software Foundation; either version 2 of the License, or | ||
| 60 | (at your option) any later version. | ||
| 61 | |||
| 62 | See the LICENSE file that comes with this distribution for more details. | ||
| 63 | |||
| 64 | =cut | ||
| 65 | |||
| 66 | #################################################################################################### | ||
| 67 | |||
| 68 | sub setup | ||
| 69 | { | ||
| 70 | my ($self,$rp)=@_; | ||
| 71 | $self->ns({ asia => 'urn:afilias:params:xml:ns:asia-1.0', | ||
| 72 | ipr => 'urn:afilias:params:xml:ns:ipr-1.1', | ||
| 73 | oxrs => 'urn:afilias:params:xml:ns:oxrs-1.1', | ||
| 74 | }); | ||
| 75 | $self->factories('contact',sub { return Net::DRI::Data::Contact::ASIA->new(@_); }); | ||
| 76 | $self->capabilities('domain_update','maintainer_url',['set']); | ||
| 77 | $self->capabilities('domain_update','contact',['add','set','del']); | ||
| 78 | $self->capabilities('domain_update','ipr',['set','del']); | ||
| 79 | return; | ||
| 80 | } | ||
| 81 | |||
| 82 | sub default_extensions { return qw/GracePeriod Afilias::IPR ASIA::CED ASIA::Domain SecDNS/; } | ||
| 83 | |||
| 84 | #################################################################################################### | ||
| 85 | 1; | ||