File Coverage

blib/lib/Net/Amazon/EC2/ConsoleOutput.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::EC2::ConsoleOutput;
2 2     2   1474 use Moose;
  2         3  
  2         17  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::ConsoleOutput
7              
8             =head1 DESCRIPTION
9              
10             A class containing the output from an instance's console
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item instance_id (required)
17              
18             The instance id of the output returned.
19              
20             =item timestamp (required)
21              
22             The timestamp of when the console output was last updated.
23              
24             =item output (required)
25              
26             The console output itself.
27              
28             =back
29              
30             =cut
31              
32             has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 );
33             has 'timestamp' => ( is => 'ro', isa => 'Str', required => 1 );
34             has 'output' => ( is => 'ro', isa => 'Str', required => 1 );
35              
36             __PACKAGE__->meta->make_immutable();
37              
38             =head1 AUTHOR
39              
40             Jeff Kim <cpan@chosec.com>
41              
42             =head1 COPYRIGHT
43              
44             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
45             under the same terms as Perl itself.
46              
47             =cut
48              
49 2     2   12933 no Moose;
  2         4  
  2         9  
50             1;