blib/lib/VM/EC2/DB/Option/Group/Membership.pm untested

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