blib/lib/VM/EC2/DB/Parameter/Group.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
valid_fields
2.0
family
2.0
name
2.0
CRAP 2.0
1 package VM::EC2::DB::Parameter::Group;
2  
3 =head1 NAME
4  
5 VM::EC2::DB::Parameter::Group - An RDS Database Parameter Group
6  
7 =head1 SYNOPSIS
8  
9 use VM::EC2;
10  
11 $ec2 = VM::EC2->new(...);
12 my @grps = $ec2->describe_db_parameter_groups();
13 print $_,"\n" foreach @grps;
14  
15 =head1 DESCRIPTION
16  
17 This object represents a DB Parameter Group. It is the result of a
18 VM::EC2->create_db_parameter_group and VM::EC2->describe_db_parameter_groups
19 call and is an element returned by other calls.
20  
21 =head1 STRING OVERLOADING
22  
23 In string context, the object returns the Parameter Group Name.
24  
25 =head1 SEE ALSO
26  
27 L<VM::EC2>
28 L<VM::EC2::Generic>
29 L<VM::EC2::DB::Instance>
30  
31 =head1 AUTHOR
32  
33 Lance Kinley E<lt>lkinley@loyaltymethods.comE<gt>.
34  
35 Copyright (c) 2013 Loyalty Methods, Inc.
36  
37 This package and its accompanying libraries is free software; you can
38 redistribute it and/or modify it under the terms of the GPL (either
39 version 1, or at your option, any later version) or the Artistic
40 License 2.0. Refer to LICENSE for the full license text. In addition,
41 please see DISCLAIMER.txt for disclaimers of warranty.
42  
43 =cut
44  
45 use strict;
46 use base 'VM::EC2::Generic';
47  
48 use overload '""' => sub { shift->DBParameterGroupName },
49 fallback => 1;
50  
51 sub valid_fields {
52 my $self = shift;
53 return qw(DBParameterGroupFamily DBParameterGroupName Description);
54 }
55  
56 sub family { shift->DBParameterGroupFamily }
57  
58 sub name { shift->DBParameterGroupName }
59  
60 1;