File Coverage

blib/lib/Google/Ads/Common/Constants.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
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 4     4   29 use strict;
  4         11  
  4         124  
20 4     4   25 use warnings;
  4         9  
  4         120  
21 4     4   25 use version;
  4         10  
  4         23  
22              
23             # Main version number that the rest of the modules on this package pick up
24             # off of.
25             our $VERSION = qv("3.4.0");
26              
27 4         326 use constant NO_AUTH_HANDLER_IS_SETUP_MESSAGE =>
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 4     4   424 "https://github.com/googleads/googleads-perl-lib/wiki/Using-OAuth-2.0";
  4         12  
32              
33             1;