lib/sportradar/api/basketball/nba.rb in sportradar-api-0.12.3 vs lib/sportradar/api/basketball/nba.rb in sportradar-api-0.13.0

- old
+ new

@@ -98,10 +98,10 @@ def team(team_id) teams.detect { |team| team.id == team_id } end def api - @api || Sportradar::Api::Basketball::Nba::Api.new + @api ||= Sportradar::Api::Basketball::Nba::Api.new end def default_year (Date.today - 210).year end