lib/sportradar/api/basketball/game.rb in sportradar-api-0.10.37 vs lib/sportradar/api/basketball/game.rb in sportradar-api-0.10.38
- old
+ new
@@ -23,23 +23,23 @@
@response = data
@api = opts[:api]
# @season = opts[:season]
@updates = {}
@changes = {}
-
+
@score = {}
@team_stats = {}
@player_stats = {}
@scoring_raw = Scoring.new(data, game: self)
@teams_hash = {}
@periods_hash = {}
@home_points = nil
@away_points = nil
@home_id = nil
@away_id = nil
-
+
@id = data['id']
-
+
update(data, **opts)
end
def timeouts
{}
end