lib/sportradar/api/basketball/plays/end_period.rb in sportradar-api-0.9.33 vs lib/sportradar/api/basketball/plays/end_period.rb in sportradar-api-0.9.34

- old
+ new

@@ -4,9 +4,13 @@ class EndPeriod < Play::Base def display_type end_of_ot? ? 'End OT' : 'End Quarter' end + def end_of_period? + true + end + def quarter_break? ["End of 1st Quarter.", "End of 3rd Quarter."].include? description end def end_of_regulation? description == "End of 4th Quarter."