File Coverage

blib/lib/Net/Amazon/EC2/CreateVolumePermission.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::CreateVolumePermission;
2 2     2   2422 use Moose;
  2         7  
  2         89  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::CreateVolumePermission
7              
8             =head1 DESCRIPTION
9              
10             A class representing the users or groups allowed to create a volume from the associated snapshot.
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item user_id (optional)
17              
18             User ID of a user that can create volumes from the snapshot.
19              
20             =item group (optional)
21              
22             Group that is allowed to create volumes from the snapshot (currently supports "all").
23              
24             =cut
25              
26             has 'user_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
27             has 'group' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
28              
29             __PACKAGE__->meta->make_immutable();
30              
31             =back
32              
33             =head1 AUTHOR
34              
35             Jeff Kim <cpan@chosec.com>
36              
37             =head1 COPYRIGHT
38              
39             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
40             under the same terms as Perl itself.
41              
42             =cut
43              
44 2     2   12915 no Moose;
  2         9  
  2         16  
45             1;