lib/sportradar/api/basketball/nba/game.rb in sportradar-api-0.9.29 vs lib/sportradar/api/basketball/nba/game.rb in sportradar-api-0.9.30
- old
+ new
@@ -154,9 +154,12 @@
def path_summary
"#{ path_base }/summary"
end
# status helpers
+ def postponed?
+ 'postponed' == status
+ end
def future?
['scheduled', 'delayed', 'created'].include? status
end
def started?
['inprogress', 'halftime', 'delayed'].include? status
\ No newline at end of file