troelskn-handsoap 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/handsoap/service.rb +4 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/handsoap/service.rb
CHANGED
@@ -157,7 +157,7 @@ module Handsoap
|
|
157
157
|
# Hook that is called after the http_client is created.
|
158
158
|
#
|
159
159
|
# You can override this to customize the http_client
|
160
|
-
def
|
160
|
+
def on_after_create_http_request(http_request)
|
161
161
|
end
|
162
162
|
# Hook that is called when there is a response.
|
163
163
|
#
|
@@ -211,7 +211,9 @@ module Handsoap
|
|
211
211
|
http = Handsoap::Http.drivers[Handsoap.http_driver]
|
212
212
|
response = http.send_http_request(request)
|
213
213
|
debug do |logger|
|
214
|
-
logger.puts
|
214
|
+
logger.puts(response.inspect do |body|
|
215
|
+
Handsoap.pretty_format_envelope(body).chomp
|
216
|
+
end)
|
215
217
|
end
|
216
218
|
return response
|
217
219
|
end
|