File Coverage

blib/lib/Net/Amazon/EC2/LaunchPermissionOperation.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::LaunchPermissionOperation;
2 2     2   1316 use strict;
  2         5  
  2         62  
3 2     2   9 use Moose;
  2         3  
  2         13  
4              
5             =head1 NAME
6              
7             Net::Amazon::EC2::LaunchPermissionOperation
8              
9             =head1 DESCRIPTION
10              
11             A class representing the operation type of the launch permission (adding or removing).
12              
13             =head1 ATTRIBUTES
14              
15             =over
16              
17             =item add (required if remove not defined)
18              
19             An Net::Amazon::EC2::LaunchPermission object to add permissions for.
20              
21             =item remove (required if add not defined)
22              
23             An Net::Amazon::EC2::LaunchPermission object to remove permissions for.
24              
25             =back
26              
27             =cut
28              
29             has 'add' => ( is => 'ro', isa => 'Net::Amazon::EC2::LaunchPermission', required => 0 );
30             has 'remove' => ( is => 'ro', isa => 'Net::Amazon::EC2::LaunchPermission', required => 0 );
31              
32             __PACKAGE__->meta->make_immutable();
33              
34             =head1 AUTHOR
35              
36             Jeff Kim <cpan@chosec.com>
37              
38             =head1 COPYRIGHT
39              
40             Copyright (c) 2006-2010 Jeff Kim. 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   10603 no Moose;
  2         4  
  2         9  
46             1;