lib/sportradar/api/football/ncaafb/play.rb in sportradar-api-0.11.17 vs lib/sportradar/api/football/ncaafb/play.rb in sportradar-api-0.11.18
- old
+ new
@@ -7,9 +7,13 @@
def parsed_ending
@parsed_ending ||= search_for_drive_end
end
+ def counted_play?
+ ['rush', 'pass'].include?(self.play_type) && !self.description.include?('No Play')
+ end
+
def halftime?
@description == "End of 1st Half"
end
def queue_details