google-ads-common 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3 -0
- data/lib/ads_common/savon_service.rb +3 -8
- data/lib/ads_common/version.rb +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -98,19 +98,14 @@ module AdsCommon
|
|
98
98
|
original_action_name =
|
99
99
|
get_service_registry.get_method_signature(action)[:original_name]
|
100
100
|
original_action_name = action if original_action_name.nil?
|
101
|
-
response = @client.request(original_action_name) do |soap|
|
101
|
+
response = @client.request(original_action_name) do |soap, wsdl, http|
|
102
102
|
soap.body = args
|
103
|
-
|
103
|
+
header_handler.prepare_request(http, soap)
|
104
|
+
soap.namespaces.merge!(extra_namespaces) unless extra_namespaces.nil?
|
104
105
|
end
|
105
106
|
return response
|
106
107
|
end
|
107
108
|
|
108
|
-
# Executes each handler to generate SOAP headers.
|
109
|
-
def set_headers(soap, extra_namespaces)
|
110
|
-
header_handler.prepare_request(@client.http, soap)
|
111
|
-
soap.namespaces.merge!(extra_namespaces) unless extra_namespaces.nil?
|
112
|
-
end
|
113
|
-
|
114
109
|
# Checks for errors in response and raises appropriate exception.
|
115
110
|
def handle_errors(response)
|
116
111
|
if response.soap_fault?
|
data/lib/ads_common/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-ads-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: savon
|