lib/sportradar/api/basketball/ncaamb.rb in sportradar-api-0.11.0 vs lib/sportradar/api/basketball/ncaamb.rb in sportradar-api-0.11.1

- old
+ new

@@ -110,11 +110,11 @@ "/ncaamb-#{access_level}#{version}/#{path}" end end def api_key - if access_level != 't' + if !['t', 'sim'].include?(access_level) Sportradar::Api.api_key_params('ncaamb', 'production') else Sportradar::Api.api_key_params('ncaamb') end end @@ -122,10 +122,10 @@ def version Sportradar::Api.version('nba') end def allowed_access_levels - %w[p t] + %w[p t sim] end def allowed_seasons ["pre", "reg", 'ct', "pst"] end \ No newline at end of file