File Coverage

blib/lib/Net/Amazon/EC2/PlacementResponse.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::PlacementResponse;
2 2     2   1279 use strict;
  2         2  
  2         84  
3 2     2   13 use Moose;
  2         4  
  2         18  
4              
5             =head1 NAME
6              
7             Net::Amazon::EC2::PlacementResponse
8              
9             =head1 DESCRIPTION
10              
11             A class containing information about the placement of an instance in an availability zone.
12              
13             =head1 ATTRIBUTES
14              
15             =over
16              
17             =item availability_zone (required)
18              
19             The availability zone for the instance.
20              
21             =back
22              
23             =cut
24              
25             has 'availability_zone' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 );
26              
27             __PACKAGE__->meta->make_immutable();
28              
29             =head1 AUTHOR
30              
31             Jeff Kim <cpan@chosec.com>
32              
33             =head1 COPYRIGHT
34              
35             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
36             under the same terms as Perl itself.
37              
38             =cut
39              
40 2     2   9290 no Moose;
  2         4  
  2         9  
41             1;