| 1 | ## Domain Registry Interface, CO.ZA EPP extensions | ||
| 2 | ## From http://registry.coza.net.za/doku.php?id=technical | ||
| 3 | ## | ||
| 4 | ## Copyright (c) 2011 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::COZA; | ||
| 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 base qw/Net::DRI::Protocol::EPP/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | use Net::DRI::Data::Contact::COZA; | ||
| 24 | |||
| 25 | #################################################################################################### | ||
| 26 | |||
| 27 | sub setup | ||
| 28 | { | ||
| 29 | my ($self,$rp)=@_; | ||
| 30 | $self->capabilities('contact_update','status',undef); ## No changes in status possible for .CO.ZA contacts | ||
| 31 | $self->capabilities('contact_update','cancel_action',['set']); | ||
| 32 | $self->capabilities('domain_update','cancel_action',['set']); | ||
| 33 | $self->capabilities('domain_update','auto_renew',['set']); | ||
| 34 | $self->factories('contact',sub { return Net::DRI::Data::Contact::COZA->new(); }); | ||
| 35 | return; | ||
| 36 | } | ||
| 37 | |||
| 38 | sub default_extensions { return qw/COZA::Contact COZA::Domain/; } | ||
| 39 | |||
| 40 | #################################################################################################### | ||
| 41 | 1; | ||
| 42 | |||
| 43 | __END__ | ||
| 44 | |||
| 45 | =pod | ||
| 46 | |||
| 47 | =head1 NAME | ||
| 48 | |||
| 49 | Net::DRI::Protocol::EPP::Extensions::COZA - .CO.ZA EPP extensions for Net::DRI | ||
| 50 | |||
| 51 | =head1 DESCRIPTION | ||
| 52 | |||
| 53 | Please see the README file for details. | ||
| 54 | |||
| 55 | =head1 SUPPORT | ||
| 56 | |||
| 57 | For now, support questions should be sent to: | ||
| 58 | |||
| 59 | E<lt>netdri@dotandco.comE<gt> | ||
| 60 | |||
| 61 | Please also see the SUPPORT file in the distribution. | ||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt> | ||
| 66 | |||
| 67 | =head1 AUTHOR | ||
| 68 | |||
| 69 | Patrick Mevzek, E<lt>netdri@dotandco.comE<gt> | ||
| 70 | |||
| 71 | =head1 COPYRIGHT | ||
| 72 | |||
| 73 | Copyright (c) 2011 Patrick Mevzek <netdri@dotandco.com>. | ||
| 74 | All rights reserved. | ||
| 75 | |||
| 76 | This program is free software; you can redistribute it and/or modify | ||
| 77 | it under the terms of the GNU General Public License as published by | ||
| 78 | the Free Software Foundation; either version 2 of the License, or | ||
| 79 | (at your option) any later version. | ||
| 80 | |||
| 81 | See the LICENSE file that comes with this distribution for more details. | ||
| 82 | |||
| 83 | =cut | ||
| 84 | |||