lib/sportradar/api/football/stat_pack/passing.rb in sportradar-api-0.1.38 vs lib/sportradar/api/football/stat_pack/passing.rb in sportradar-api-0.9.0
- old
+ new
@@ -5,10 +5,10 @@
def set_stats
@attempts = response["attempts"]
@completions = response["completions"]
@cmp_pct = response["cmp_pct"]
- # @yards = response["yards"]
+ # @yards = response["yards"] # 'yards' is air yards, which does not include sack yardage. air_yards is for college, net_yards for NFL
@avg_yards = response["avg_yards"]
@sacks = response["sacks"]
@sack_yards = response["sack_yards"]
@touchdowns = response["touchdowns"]
@longest = response["longest"]