lib/sportradar/api/basketball/game.rb in sportradar-api-0.10.10 vs lib/sportradar/api/basketball/game.rb in sportradar-api-0.10.11

- old
+ new

@@ -198,9 +198,15 @@ # status helpers def postponed? 'postponed' == status end + def unnecessary? + 'unnecessary' == status + end + def cancelled? + ['unnecessary', 'postponed'].include? status + end def future? ['scheduled', 'delayed', 'created', 'time-tbd'].include? status end def started? ['inprogress', 'halftime', 'delayed'].include? status