lib/ratis/request.rb in ratis-3.6.5 vs lib/ratis/request.rb in ratis-3.6.6
- old
+ new
@@ -15,9 +15,10 @@
# Necessary since calling Ratis.configure doesn't allow changing of values set during Savon initialization
# Savon memoizes the client config
endpoint(Ratis.config.endpoint)
namespace(Ratis.config.namespace)
+ client.http.open_timeout = Ratis.config.timeout
client.http.read_timeout = Ratis.config.timeout
response = client.request action, :soap_action => "#{Ratis.config.namespace}##{action}", :xmlns => Ratis.config.namespace do
soap.body = params unless params.blank?
end