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 5     5   857 use strict;
  5         9  
  5         133  
20 5     5   27 use warnings;
  5         12  
  5         140  
21 5     5   25 use version;
  5         9  
  5         24  
22              
23             # Main version number that the rest of the modules on this package pick up
24             # off of.
25             our $VERSION = qv("3.3.0");
26              
27 5         374 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 5     5   468 "https://github.com/googleads/googleads-perl-lib/wiki/Using-OAuth-2.0";
  5         9  
32              
33             1;