EC2/Events.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EC2/EbsInstanceBlockDeviceMapping.pm ↑ Summary EC2/GroupSet.pm »
1 package Net::Amazon::EC2::Events;
2 2 $Net::Amazon::EC2::Events::VERSION = '0.36';
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Net::Amazon::EC2::Events
8  
9 =head1 DESCRIPTION
10  
11 A class representing a EC2 Events block
12  
13 =head1 ATTRIBUTES
14  
15 =over
16  
17 =item code (required)
18  
19 The code of the event.
20  
21 =item description (required)
22  
23 The description of the event.
24  
25 =item not_before (required)
26  
27 The date the event will not occur before.
28  
29 =item not_after (optional)
30  
31 The date the event will not occur after.
32  
33 =back
34  
35 =cut
36  
37 2 has 'code' => ( is => 'ro', isa => 'Str', required => 1 );
38 2 has 'description' => ( is => 'ro', isa => 'Str', required => 1 );
39 2 has 'not_before' => ( is => 'ro', isa => 'Str', required => 1 );
40 2 has 'not_after' => ( is => 'ro', isa => 'Str', required => 0 );
41  
42 2 __PACKAGE__->meta->make_immutable();
43  
44 =head1 AUTHOR
45  
46 Matt West <https://github.com/mhwest13>
47  
48 =head1 COPYRIGHT
49  
50 Copyright (c) 2014 Matt West. This program is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52  
53 =cut
54  
55 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
56 2 1;
« EC2/EbsInstanceBlockDeviceMapping.pm ↑ Summary EC2/GroupSet.pm »