File Coverage

blib/lib/Net/Amazon/EC2/ProductInstanceResponse.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::EC2::ProductInstanceResponse;
2 2     2   1250 use strict;
  2         4  
  2         125  
3 2     2   12 use Moose;
  2         4  
  2         13  
4              
5             =head1 NAME
6              
7             Net::Amazon::EC2::ProductInstanceResponse
8              
9             =head1 DESCRIPTION
10              
11             A class representing the response from a confirm_product_instance call.
12              
13             =head1 ATTRIBUTES
14              
15             =over
16              
17             =item product_code (required)
18              
19             The product code attached to the instance.
20              
21             =item instance_id (required)
22              
23             Instance ID.
24              
25             =item owner_id (required)
26              
27             AWS Account id of the instance owner.
28              
29             =cut
30              
31             has 'product_code' => ( is => 'ro', isa => 'Str', required => 1 );
32             has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 );
33             has 'owner_id' => ( is => 'ro', isa => 'Str', required => 1 );
34              
35             __PACKAGE__->meta->make_immutable();
36              
37             =back
38              
39             =head1 AUTHOR
40              
41             Jeff Kim <cpan@chosec.com>
42              
43             =head1 COPYRIGHT
44              
45             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
46             under the same terms as Perl itself.
47              
48             =cut
49              
50 2     2   13771 no Moose;
  2         6  
  2         13  
51             1;