blib/lib/Google/Ads/AdWords/v201309/TrafficEstimatorService/TrafficEstimatorServiceInterfacePort.pm untested

filter: Statementstmt 0.0% 0 / 30 Branchbran 0.0% 0 / 10 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 50 CC 5 SCAR 21.6
CC
5
Cov
0%
START
20.0
get
6.0
BEGIN
2.0
CRAP 8.7
1 package Google::Ads::AdWords::v201309::TrafficEstimatorService::TrafficEstimatorServiceInterfacePort;
2 use strict;
3 use warnings;
4 use Class::Std::Fast::Storable;
5 use Scalar::Util qw(blessed);
6 use base qw(SOAP::WSDL::Client::Base);
7  
8 # only load if it hasn't been loaded before
9 require Google::Ads::AdWords::v201309::TypeMaps::TrafficEstimatorService
10 if not Google::Ads::AdWords::v201309::TypeMaps::TrafficEstimatorService->can('get_class');
11  
12 sub START {
13 $_[0]->set_proxy('https://adwords.google.com/api/adwords/o/v201309/TrafficEstimatorService') if not $_[2]->{proxy};
14 $_[0]->set_class_resolver('Google::Ads::AdWords::v201309::TypeMaps::TrafficEstimatorService')
15 if not $_[2]->{class_resolver};
16  
17 $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
18 }
19  
20 sub get {
21 my ($self, $body, $header) = @_;
22 die "get must be called as object method (\$self is <$self>)" if not blessed($self);
23 return $self->SUPER::call({
24 operation => 'get',
25 soap_action => '',
26 style => 'document',
27 body => {
28
29  
30 'use' => 'literal',
31 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
32 encodingStyle => '',
33 parts => [qw( Google::Ads::AdWords::v201309::TrafficEstimatorService::get )],
34 },
35 header => {
36
37  
38  
39 'use' => 'literal',
40 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
41 encodingStyle => '',
42 parts => [qw( Google::Ads::AdWords::v201309::TrafficEstimatorService::RequestHeader )],
43 },
44 headerfault => {
45
46 }
47 }, $body, $header);
48 }
49  
50  
51  
52  
53 1;
54  
55  
56  
57 __END__