| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package WWW::LogicBoxes::Contact::CA::Agreement; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 40 |  |  | 40 |  | 448777 | use strict; | 
|  | 40 |  |  |  |  | 104 |  | 
|  | 40 |  |  |  |  | 1380 |  | 
| 4 | 40 |  |  | 40 |  | 297 | use warnings; | 
|  | 40 |  |  |  |  | 102 |  | 
|  | 40 |  |  |  |  | 1252 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 | 40 |  |  | 40 |  | 795 | use Moose; | 
|  | 40 |  |  |  |  | 181399 |  | 
|  | 40 |  |  |  |  | 350 |  | 
| 7 | 40 |  |  | 40 |  | 293549 | use MooseX::StrictConstructor; | 
|  | 40 |  |  |  |  | 71080 |  | 
|  | 40 |  |  |  |  | 351 |  | 
| 8 | 40 |  |  | 40 |  | 167765 | use namespace::autoclean; | 
|  | 40 |  |  |  |  | 115 |  | 
|  | 40 |  |  |  |  | 1046 |  | 
| 9 |  |  |  |  |  |  |  | 
| 10 | 40 |  |  | 40 |  | 5144 | use WWW::LogicBoxes::Types qw( Str ); | 
|  | 40 |  |  |  |  | 101 |  | 
|  | 40 |  |  |  |  | 422 |  | 
| 11 |  |  |  |  |  |  |  | 
| 12 |  |  |  |  |  |  | our $VERSION = '1.11.0'; # 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 |