File Coverage

blib/lib/Net/Amazon/EC2/InstanceStatus.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::InstanceStatus;
2 2     2   1277 use Moose;
  2         3  
  2         19  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::InstanceStatus
7              
8             =head1 DESCRIPTION
9              
10             A class representing a EC2 InstanceStatus block
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item details (required)
17              
18             The details for the instance status.
19              
20             =item status (required)
21              
22             The instance status results.
23              
24             =back
25              
26             =cut
27              
28             has 'status' => ( is => 'ro', isa => 'Str', required => 1 );
29             has 'details' =>
30             ( is => 'ro', isa => 'ArrayRef[Net::Amazon::EC2::Details]', required => 1 );
31              
32             __PACKAGE__->meta->make_immutable();
33              
34             =head1 AUTHOR
35              
36             Matt West <https://github.com/mhwest13>
37              
38             =head1 COPYRIGHT
39              
40             Copyright (c) 2014 Matt West. This program is free software; you can redistribute it and/or modify it
41             under the same terms as Perl itself.
42              
43             =cut
44              
45 2     2   10763 no Moose;
  2         3  
  2         11  
46             1;