lib/sportradar/api/soccer/api.rb in sportradar-api-0.17.6 vs lib/sportradar/api/soccer/api.rb in sportradar-api-0.18.0
- old
+ new
@@ -31,10 +31,10 @@
end
private
def request_url(path)
- "/soccer/#{access_level}/v#{version}/#{language_code}/#{path}"
+ "/soccer-extended/#{access_level}/v#{version}/#{language_code}/#{path}"
end
def api_key
if !['trial', 'sim'].include?(access_level) || (access_level == 'sim' && default_access_level == 'production')
Sportradar::Api.api_key_params("soccer", 'production')