Marketing/Role.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Marketing/ResponseStatusType.pm ↑ Summary Marketing/SetGeographicLocationResponse.pm »
1 package Yahoo::Marketing::Role;
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 4 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::Role - an object to represent a user role for an account, for example, AccountAdministrator or CampaignManager. Roles determine the capabilities that a user has, which in turn determine the operations a user can execute within the system. The association between a User, a Role, and an Account is an Authorization.
12  
13  
14 =cut
15  
16 4 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
17 4 return ( qw/
18 name
19 / );
20 }
21  
22 4 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
23 4 return ( qw/
24 / );
25 }
26  
27 4 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
28 __PACKAGE__->_read_only_attributes
29 );
30  
31  
32 4 1;
33 =head1 SYNOPSIS
34  
35 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> 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 name
55  
56 =over 8
57  
58  
59 =back
60  
61 =cut
62  
« Marketing/ResponseStatusType.pm ↑ Summary Marketing/SetGeographicLocationResponse.pm »