File: CheckTransfer.pm

package info (click to toggle)
libwww-cnic-perl 0.38-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 428 kB
  • ctags: 189
  • sloc: perl: 1,217; makefile: 2
file content (63 lines) | stat: -rwxr-xr-x 1,429 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright (c) 2011 CentralNic Ltd. All rights reserved. This program is
# free software; you can redistribute it and/or modify it under the same
# terms as Perl itself.
# $Id: CheckTransfer.pm,v 1.5 2011/05/13 13:31:49 gavin Exp $

package WWW::CNic::Response::CheckTransfer;
use vars qw($VERSION);

=pod

=head1 NAME

WWW::CNic::Response::CheckTransfer - a WWW::CNic response object for checking the status of domain transfer requests.

=head1 SYNOPSIS

	use WWW::CNic;

	my $query = WWW::CNic->new( OPTIONS );
	$query->set( PARAMETERS );

	my $response = $query->execute();

=head1 DESCRIPTION

Response module for checking the status of a domain transfer via the CentralNic Toolkit (http://toolkit.centralnic.com/). This module inherits all its methods from the base class, I<WWW::CNic::Response>.

=head1 METHODS

	my $status = $response->status;

This returns a string representing the status of a transfer. This may be one of: C<pending>, C<cancelled>, C<approved>, C<rejected>.

=head1 COPYRIGHT

This module is (c) 2011 CentralNic Ltd. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

=head1 SEE ALSO

=over

=item *

http://toolkit.centralnic.com/

=item *

L<WWW::CNic::Response>

=item *

L<WWW::CNic>

=back

=cut

use WWW::CNic::Response;
@ISA = qw(WWW::CNic::Response);

sub status { return $_[0]->response('transfer-status') }

1;