lib/sportradar/api/nfl.rb in sportradar-api-0.1.28 vs lib/sportradar/api/nfl.rb in sportradar-api-0.1.29
- old
+ new
@@ -50,9 +50,10 @@
Sportradar::Api::Nfl::Game.new response["game"] if response.success? && response["game"]
## Need to properly implement statistics
end
def play_by_play(game_id)
+ check_simulation(game_id)
response = get request_url("games/#{ game_id }/pbp")
Sportradar::Api::Nfl::Game.new response["game"] if response.success? && response["game"]
# need to get into quarters, drives, plays, stats more still
end