lib/sportradar/api/football/drive.rb in sportradar-api-0.11.39 vs lib/sportradar/api/football/drive.rb in sportradar-api-0.11.40
- old
+ new
@@ -91,18 +91,18 @@
'End of Game',
]
end
def normalized_end_reason
case end_reason
- when 'Touchdown'
+ when 'Touchdown', :pat
'Touchdown'
- when 'Field Goal', 'Missed FG', "Blocked FG, Downs", 'Muffed FG', 'Blocked FG, Safety'
+ when 'Field Goal', 'Missed FG', "Blocked FG, Downs", 'Muffed FG', 'Blocked FG, Safety', :fg
'Field Goal'
when 'Downs'
'Downs'
- when 'Interception', 'Fumble'
+ when 'Interception', 'Fumble', :fumble, :interception
'Turnover'
- when 'Punt'
+ when 'Punt', :punt
'Punt'
else
'Other'
end
end