blib/lib/Google/Ads/Common/ReportDownloadError.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # Copyright 2012, Google Inc. All Rights Reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14  
15 package Google::Ads::Common::ReportDownloadError;
16  
17 use version;
18  
19 # The following needs to be on one line because CPAN uses a particularly hacky
20 # eval() to determine module versions.
21 use Google::Ads::Common::Constants; our $VERSION = ${Google::Ads::Common::Constants::VERSION};
22  
23 use Class::Std::Fast;
24  
25 # Error type.
26 my %type_of : ATTR(:name<type> :default<"">);
27  
28 # Bad data triggering the error.
29 my %trigger_of : ATTR(:name<trigger> :default<"">);
30  
31 # ONGL path to the field cause of the error.
32 my %field_path_of : ATTR(:name<field_path> :default<"">);
33  
34 return 1;
35  
36 =pod
37  
38 =head1 NAME
39  
40 Google::Ads::Common::ReportDownloadError
41  
42 =head1 DESCRIPTION
43  
44 Data object that holds the information of an error that occurred during a
45 report download request.
46  
47 =head1 ATTRIBUTES
48  
49 There is a get_ and set_ method associated with each attribute for retrieving or
50 setting them dynamically.
51  
52 =head2 type
53  
54 The type of error ocurred.
55  
56 =head2 trigger
57  
58 Invalid data cause of the error.
59  
60 =head2 field_path
61  
62 ONGL path to the field that caused the error.
63  
64 =head1 LICENSE AND COPYRIGHT
65  
66 Copyright 2012 Google Inc.
67  
68 Licensed under the Apache License, Version 2.0 (the "License");
69 you may not use this file except in compliance with the License.
70 You may obtain a copy of the License at
71  
72 http://www.apache.org/licenses/LICENSE-2.0
73  
74 Unless required by applicable law or agreed to in writing, software
75 distributed under the License is distributed on an "AS IS" BASIS,
76 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77 See the License for the specific language governing permissions and
78 limitations under the License.
79  
80 =head1 AUTHOR
81  
82 David Torres E<lt>api.davidtorres at gmail.comE<gt>
83  
84 =head1 REPOSITORY INFORMATION
85  
86 $Rev: $
87 $LastChangedBy: $
88 $Id: $
89  
90 =cut