File Coverage

blib/lib/Net/Amazon/EC2/ConfirmProductInstanceResponse.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::ConfirmProductInstanceResponse;
2 2     2   1069 use strict;
  2         3  
  2         79  
3 2     2   10 use Moose;
  2         2  
  2         12  
4              
5             =head1 NAME
6              
7             Net::Amazon::EC2::ConfirmProductInstanceResponse
8              
9             =head1 DESCRIPTION
10              
11             A class representing the response from a request to attach a product code to a running instance
12              
13             =head1 ATTRIBUTES
14              
15             =over
16              
17             =item return (required)
18              
19             true if the product code is attached to the instance, false if it is
20             not.
21              
22             =item owner_id (optional)
23              
24             The instance owner's account ID. Only present if the product code
25             is sucessfully attached to the instance.
26              
27             =back
28              
29             =cut
30              
31             has 'return' => ( is => 'ro', isa => 'Str', required => 1 );
32             has 'owner_id' => ( is => 'ro', isa => 'Str', required => 0 );
33              
34             __PACKAGE__->meta->make_immutable();
35              
36             =head1 AUTHOR
37              
38             Jeff Kim <cpan@chosec.com>
39              
40             =head1 COPYRIGHT
41              
42             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
43             under the same terms as Perl itself.
44              
45             =cut
46              
47 2     2   9461 no Moose;
  2         3  
  2         8  
48             1;