Marketing/Authorization.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/ApiFault.pm ↑ Summary Marketing/BasicReportRequest.pm »
1 package Yahoo::Marketing::Authorization;
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::Authorization - an object to represent an association between a role and an account. The user is assumed to be known.
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 accountType
20 role
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 2 1;
35 =head1 SYNOPSIS
36  
37 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects.
38  
39  
40 =head2 new
41  
42 Creates a new instance
43  
44 =cut
45  
46 =head1 METHODS
47  
48 =head2 get/set methods
49  
50 =over 8
51  
52 accountID
53 accountType
54 role
55  
56 =back
57  
58 =head2 get (read only) methods
59  
60 =over 8
61  
62  
63 =back
64  
65 =cut
66  
« Marketing/ApiFault.pm ↑ Summary Marketing/BasicReportRequest.pm »