lib/sportradar/api/football/nfl/play.rb in sportradar-api-0.11.47 vs lib/sportradar/api/football/nfl/play.rb in sportradar-api-0.11.48
- old
+ new
@@ -2,9 +2,13 @@
module Api
module Football
class Nfl
class Play < Sportradar::Api::Football::Play
+ def play?
+ @event_type.nil?
+ end
+
def down
start_situation.down
end
def yfd