File Coverage

blib/lib/Yahoo/Marketing/APT/MonthOfYear.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 Yahoo::Marketing::APT::MonthOfYear;
2             # Copyright (c) 2010 Yahoo! Inc. All rights reserved.
3             # The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997)
4              
5 1     1   219433 use strict; use warnings;
  1     1   3  
  1         37  
  1         6  
  1         2  
  1         28  
6              
7 1     1   5 use base qw/Yahoo::Marketing::ComplexType/;
  1         2  
  1         854  
8              
9             =head1 NAME
10              
11             Yahoo::Marketing::APT::MonthOfYear - a data object to represent a MonthOfYear.
12              
13             =cut
14              
15             sub _user_setable_attributes {
16             return ( qw/
17             month
18             year
19             / );
20             }
21              
22             sub _read_only_attributes {
23             return ( qw/
24             / );
25             }
26              
27             __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
28             __PACKAGE__->_read_only_attributes
29             );
30              
31              
32             1;
33             =head1 SYNOPSIS
34              
35             See L for documentation of the various data objects.
36              
37              
38             =cut
39              
40             =head1 METHODS
41              
42             =head2 new
43              
44             Creates a new instance
45              
46             =head2 get/set methods
47              
48             =over 8
49              
50             month
51             year
52              
53             =back
54              
55             =head2 get (read only) methods
56              
57             =over 8
58              
59              
60             =back
61              
62             =cut
63