lib/api_client/connection/basic.rb in api_client-0.5.7 vs lib/api_client/connection/basic.rb in api_client-0.5.9
- old
+ new
@@ -74,10 +74,10 @@
private
def exec_request(method, path, data, headers)
response = @handler.send(method, path, data, headers)
- request = {method: method, path: path, data: data}
+ request = { :method => method, :path => path, :data => data}
handle_response(request, response)
rescue Faraday::Error::ConnectionFailed => e
raise ApiClient::Errors::ConnectionFailed.new(e.message, request, response)
end