lib/sportradar/api/baseball/events/warming_up.rb in sportradar-api-0.11.51 vs lib/sportradar/api/baseball/events/warming_up.rb in sportradar-api-0.11.52

- old
+ new

@@ -18,9 +18,13 @@ @team_id = data['team_id'] if data['team_id'] @preferred_name = data['preferred_name'] if data['preferred_name'] update(data) end + def description + "#{(@preferred_name || @first_name)} #{@last_name} is now warming up in the bullpen." + end + def update(data, **opts) # parse pitches end def data_key