lib/sportradar/api/football/ncaafb/api.rb in sportradar-api-0.11.13 vs lib/sportradar/api/football/ncaafb/api.rb in sportradar-api-0.11.14
- old
+ new
@@ -42,10 +42,10 @@
def request_url(path)
"/ncaafb-#{access_level}#{version}/#{path}"
end
def api_key
- if !['t', 'sim-t'].include?(access_level) || (default_access_level == 'rt' && access_level == 'sim')
+ if !['t', 'sim-t'].include?(access_level) || (default_access_level == 'rt' && access_level == 'sim-t')
::Sportradar::Api.api_key_params('ncaafb', 'production')
else
::Sportradar::Api.api_key_params('ncaafb')
end
end