APT/Site.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
« APT/Service.pm ↑ Summary APT/SiteAccess.pm »
1 package Yahoo::Marketing::APT::Site;
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 45 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 45 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::APT::Site - a data object to represent a Site.
12  
13 =cut
14  
15 45 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
16 45 return ( qw/
17 ID
18 accountID
19 createTimestamp
20 description
21 language
22 lastUpdateTimestamp
23 name
24 status
25 url
26 / );
27 }
28  
29 45 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
30 45 return ( qw/
31 / );
32 }
33  
34 45 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
35 __PACKAGE__->_read_only_attributes
36 );
37  
38  
39 45 1;
40 =head1 SYNOPSIS
41  
42 See L<http://help.yahoo.com/l/us/yahoo/ewsapt/webservices/reference/data/> for documentation of the various data objects.
43  
44  
45 =cut
46  
47 =head1 METHODS
48  
49 =head2 new
50  
51 Creates a new instance
52  
53 =head2 get/set methods
54  
55 =over 8
56  
57 ID
58 accountID
59 createTimestamp
60 description
61 language
62 lastUpdateTimestamp
63 name
64 status
65 url
66  
67 =back
68  
69 =head2 get (read only) methods
70  
71 =over 8
72  
73  
74 =back
75  
76 =cut
77  
« APT/Service.pm ↑ Summary APT/SiteAccess.pm »