lib/sportradar/api/football/game.rb in sportradar-api-0.18.1 vs lib/sportradar/api/football/game.rb in sportradar-api-0.19.0

- old
+ new

@@ -18,11 +18,11 @@ @updates = {} @changes = {} @teams_hash = {} @team_stats = {} - @player_stats = {} + @player_stats = StatsShim.new(self) @quarters_hash = {} @drives_hash = {} @score = {} @@ -390,9 +390,13 @@ end def get_statistics data = api.get_data(path_statistics).to_h ingest_statistics(data) + end + + def get_summary + get_statistics end def queue_statistics url, headers, options, timeout = api.get_request_info(path_statistics) {url: url, headers: headers, params: options, timeout: timeout, callback: method(:ingest_statistics)}