File Coverage

blib/lib/Net/Amazon/EC2/InstancePassword.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::InstancePassword;
2 2     2   1613 use Moose;
  2         6  
  2         15  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::InstancePassword
7              
8             =head1 DESCRIPTION
9              
10             A class representing a instance password for a Windows-based instance.
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item instance_id (required)
17              
18             The ID of the instance.
19              
20             =item timestamp (required)
21              
22             The time the data was last updated.
23              
24             =item password_data (required)
25              
26             The password of the instance.
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 'password_data' => ( 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   13344 no Moose;
  2         4  
  2         12  
50             1;