lib/sportradar/api/football/stat_pack/defense.rb in sportradar-api-0.1.38 vs lib/sportradar/api/football/stat_pack/defense.rb in sportradar-api-0.9.0

- old
+ new

@@ -1,9 +1,9 @@ module Sportradar module Api class Football::StatPack::Defense < Football::StatPack attr_accessor :tackles, :assists, :combined, :sacks, :sack_yards, :interceptions, :passes_defended, :forced_fumbles, :fumble_recoveries, :qb_hits, :tloss, :tloss_yards, :safeties, :sp_tackles, :sp_assists, :sp_forced_fumbles, :sp_fumble_recoveries, :sp_blocks, :misc_tackles, :misc_assists, :misc_forced_fumbles, :misc_fumble_recoveries, :missed_tackles - + def set_stats @tackles = response["tackles"] @assists = response["assists"] @combined = response["combined"] @sacks = response["sacks"]