lib/sportradar/api/football/ncaafb/api.rb in sportradar-api-0.11.10 vs lib/sportradar/api/football/ncaafb/api.rb in sportradar-api-0.11.11
- old
+ new
@@ -24,11 +24,11 @@
end
def default_season
'reg'
end
def default_access_level
- if (ENV['SPORTRADAR_ENV'] || ENV['SPORTRADAR_ENV_NCAAFB'] || ENV['RACK_ENV'] || ENV['RAILS_ENV']) == 'production'
- 'p'
+ if (ENV['SPORTRADAR_ENV'] || ENV['RACK_ENV'] || ENV['RAILS_ENV']) == 'production'
+ ENV['SPORTRADAR_ACCESS_NCAAFB'] || 'rt'
else
't'
end
end