line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::LogicBoxes::Contact::CA::Agreement; |
2
|
|
|
|
|
|
|
|
3
|
39
|
|
|
39
|
|
438538
|
use strict; |
|
39
|
|
|
|
|
95
|
|
|
39
|
|
|
|
|
1270
|
|
4
|
39
|
|
|
39
|
|
202
|
use warnings; |
|
39
|
|
|
|
|
87
|
|
|
39
|
|
|
|
|
1056
|
|
5
|
|
|
|
|
|
|
|
6
|
39
|
|
|
39
|
|
762
|
use Moose; |
|
39
|
|
|
|
|
175889
|
|
|
39
|
|
|
|
|
307
|
|
7
|
39
|
|
|
39
|
|
258551
|
use MooseX::StrictConstructor; |
|
39
|
|
|
|
|
59215
|
|
|
39
|
|
|
|
|
315
|
|
8
|
39
|
|
|
39
|
|
140406
|
use namespace::autoclean; |
|
39
|
|
|
|
|
91
|
|
|
39
|
|
|
|
|
887
|
|
9
|
|
|
|
|
|
|
|
10
|
39
|
|
|
39
|
|
4359
|
use WWW::LogicBoxes::Types qw( Str ); |
|
39
|
|
|
|
|
92
|
|
|
39
|
|
|
|
|
326
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $VERSION = '1.10.1'; # VERSION |
13
|
|
|
|
|
|
|
# ABSTRACT: CA Registrant Agreement |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
has 'version' => ( |
16
|
|
|
|
|
|
|
is => 'ro', |
17
|
|
|
|
|
|
|
isa => Str, |
18
|
|
|
|
|
|
|
required => 1, |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
has 'content' => ( |
22
|
|
|
|
|
|
|
is => 'ro', |
23
|
|
|
|
|
|
|
isa => Str, |
24
|
|
|
|
|
|
|
required => 1, |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
WWW::LogicBoxes::Contact::CA::Agreement - The Registrant Agreement for a .ca Contact |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 SYNOPSIS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
use strict; |
39
|
|
|
|
|
|
|
use warnings; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
my $api = WWW::LogicBoxes->new( ... ); |
42
|
|
|
|
|
|
|
my $agreement = $api->get_ca_registrant_agreement(); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
print "Version: " . $agreement->version; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
.ca domain registrations require a specialized CA Agreement be accepted. This object contains the version of that agreement as well as the raw HTML for displaying the agreement to customers for them to agree to. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 B<version> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Str describing the version of the CA Registrant Agreement. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 B<content> |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
HTML content of the CA Registrant Agreement. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |