class SportsDataApi::Nfl::Player

Public Instance Methods

stats() click to toggle source
# File lib/sports_data_api/nfl/player.rb, line 4
def stats
  return if player[:statistics].nil? || player[:statistics].empty?
  @stats ||= SportsDataApi::MergedStats.new(player[:statistics])
end