lib/sportradar/api/basketball/plays/turnover.rb in sportradar-api-0.9.32 vs lib/sportradar/api/basketball/plays/turnover.rb in sportradar-api-0.9.33
- old
+ new
@@ -4,9 +4,12 @@
class Turnover < Play::Base
attr_reader :steal
def base_key
'turnover'
end
+ def display_type
+ 'Turnover'
+ end
def parse_statistics(data)
super
@steal = Steal.new(data, quarter: @quarter) if @statistics['steal']
end
end