lib/sportradar/api/football/ncaafb/api.rb in sportradar-api-0.11.7 vs lib/sportradar/api/football/ncaafb/api.rb in sportradar-api-0.11.8

- old
+ new

@@ -3,10 +3,10 @@ module Football class Ncaafb class Api < Request attr_accessor :league, :access_level, :error - def initialize(access_level = 't') + def initialize(access_level = default_access_level) @league = 'ncaafb' raise ::Sportradar::Api::Error::InvalidAccessLevel unless allowed_access_levels.include? access_level @access_level = access_level end