lib/sportradar/api/request.rb in sportradar-api-0.19.0 vs lib/sportradar/api/request.rb in sportradar-api-0.19.1
- old
+ new
@@ -10,11 +10,11 @@
def sim!
@access_level = 'sim'
self
end
- def get_data(url)
- data = get request_url(url)
+ def get_data(url, extra_params = {})
+ data = get(request_url(url), extra_params)
if data.is_a?(::Sportradar::Api::Error)
puts request_url(url)
puts
puts data.inspect
raise data