lib/sportradar/api/football/ncaafb/play.rb in sportradar-api-0.11.60 vs lib/sportradar/api/football/ncaafb/play.rb in sportradar-api-0.11.61
- old
+ new
@@ -31,13 +31,9 @@
def yards
counted_play? ? (statistics.pass&.first || statistics.rush&.first)&.yards.to_i : 0
end
- def counted_play?
- ['rush', 'pass'].include?(self.play_type) && !self.description.include?('No Play')
- end
-
def play?
@event_type.nil?
end
def scoring_play?