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