lib/recurly/client.rb in recurly-3.0.0.beta.1 vs lib/recurly/client.rb in recurly-3.0.0.beta.2
- old
+ new
@@ -101,10 +101,10 @@
def pager(path, **options)
Pager.new(client: self, path: path, options: options)
end
def get(path, **options)
- response = run_request(:get, path, options.compact, headers)
+ response = run_request(:get, path, nil, headers)
raise_api_error!(response) if response.status != 200
JSONParser.parse(self, response.body)
rescue Faraday::ClientError => ex
raise_network_error!(ex)
end