Marketing/UserAuthorization.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Marketing/User.pm ↑ Summary Marketing/UserManagementService.pm »
1 package Yahoo::Marketing::UserAuthorization;
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 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 ▶use Yahoo::Marketing::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 =head1 NAME
11  
12 Yahoo::Marketing::UserAuthorization - an object to represent an association between a User, a Role and an Account.
13  
14 =cut
15  
16 2 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
17 2 return ( qw/
18 accountID
19 role
20 username
21 / );
22 }
23  
24 2 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
25 2 return ( qw/
26 / );
27 }
28  
29 2 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
30 __PACKAGE__->_read_only_attributes
31 );
32  
33  
34  
35  
36 2 1;
37 =head1 SYNOPSIS
38  
39 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects.
40  
41  
42 =head2 new
43  
44 Creates a new instance
45  
46 =cut
47  
48 =head1 METHODS
49  
50 =head2 get/set methods
51  
52 =over 8
53  
54 accountID
55 role
56 username
57  
58 =back
59  
60 =head2 get (read only) methods
61  
62 =over 8
63  
64  
65 =back
66  
67 =cut
68  
« Marketing/User.pm ↑ Summary Marketing/UserManagementService.pm »