lib/sportradar/api/basketball/plays/foul.rb in sportradar-api-0.9.32 vs lib/sportradar/api/basketball/plays/foul.rb in sportradar-api-0.9.33
- old
+ new
@@ -3,9 +3,12 @@
module Basketball
class Foul < Play::Base
def base_key
'personalfoul'
end
+ def display_type
+ 'Foul'
+ end
def foul_type(data)
@event_type
end
end
end