blib/lib/Google/Ads/Common/Constants.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 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
« lib/Google/Ads/AdWords/Utilities/BatchJobHandlerError.pm ↑ Summary lib/Google/Ads/AdWords/Constants.pm »
1 # Copyright 2011, 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 # Module to store package-level constants.
16  
17 package Google::Ads::Common::Constants;
18  
19 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 6 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 # Main version number that the rest of the modules on this package pick up
24 # off of.
25 6 our $VERSION = qv("3.6.0");
26  
27 6 ▶use constant NO_AUTH_HANDLER_IS_SETUP_MESSAGE =>
Subroutine BEGIN: called CC=1 SCAR=0.0
28 "The library couldn't find any authorization mechanism set up to " .
29 "properly sign the requests against the API. Please read the following " .
30 "guide on how to setup OAuth2 " .
31 6 "https://github.com/googleads/googleads-perl-lib/wiki/Using-OAuth-2.0";
32  
33 6 1;
« lib/Google/Ads/AdWords/Utilities/BatchJobHandlerError.pm ↑ Summary lib/Google/Ads/AdWords/Constants.pm »