lib/rating_chgk_v2/connection.rb in rating-chgk-v2-1.1.0 vs lib/rating_chgk_v2/connection.rb in rating-chgk-v2-1.2.0
- old
+ new
@@ -25,9 +25,13 @@
{headers: headers, url: BASE_URL}
end
# Allows to customize request params per-client
def request_params_for(client)
- {request: {timeout: client.timeout, open_timeout: client.open_timeout}}
+ {request: {
+ timeout: client.timeout,
+ open_timeout: client.open_timeout,
+ params_encoder: Faraday::FlatParamsEncoder
+ }}
end
end
end