File Coverage

blib/lib/Yahoo/Marketing/Capability.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::Capability;
2             # Copyright (c) 2009 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 2     2   58624 use strict; use warnings;
  2     2   5  
  2         72  
  2         10  
  2         5  
  2         62  
6              
7 2     2   11 use base qw/Yahoo::Marketing::ComplexType/;
  2         7  
  2         692  
8              
9             =head1 NAME
10              
11             Yahoo::Marketing::Capability - an object to represent a group of operations that a user can execute based on their assigned role within the system. Each role has a set of defined capabilities.
12              
13             =cut
14              
15             sub _user_setable_attributes {
16             return ( qw/
17             / );
18             }
19              
20             sub _read_only_attributes {
21             return ( qw/
22             description
23             name
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             =head2 new
39              
40             Creates a new instance
41              
42             =cut
43              
44             =head1 METHODS
45              
46             =head2 get/set methods
47              
48             =over 8
49              
50             =back
51              
52             =head2 get (read only) methods
53              
54             =over 8
55              
56             description
57             name
58              
59             =back
60              
61             =cut
62