lib/myfinance/request.rb in myfinance-1.1.0 vs lib/myfinance/request.rb in myfinance-1.2.0
- old
+ new
@@ -22,10 +22,11 @@
{
method: args[:method],
params: args[:params],
body: body,
headers: headers,
- accept_encoding: "gzip"
+ accept_encoding: "gzip",
+ params_encoding: :rack
}.reject { |_k,v| v.nil? }
end
def headers
headers = args.fetch(:headers) { {} }