Class: Sportradar::Api::Football::Nfl::Player

Inherits:
Player
  • Object
show all
Defined in:
lib/sportradar/api/football/nfl/player.rb

Instance Attribute Summary

Attributes inherited from Player

#averages, #birth_place, #college, #depth, #draft, #height, #id, #name_first, #name_full, #name_last, #number, #position, #preferred_name, #response, #stats, #team, #totals, #weight

Instance Method Summary collapse

Methods inherited from Player

#age, #birth_date, #display_name, #first_name, #initialize, #injured?, #jersey, #last_name, #name, #update, #update_draft, #update_injuries

Methods inherited from Data

#all_attributes, #attributes, #create_data, #parse_into_array, #parse_into_array_with_options, #parse_out_hashes, #structure_links, #update_data

Constructor Details

This class inherits a constructor from Sportradar::Api::Football::Player

Instance Method Details

#apiObject



7
8
9
# File 'lib/sportradar/api/football/nfl/player.rb', line 7

def api
  @api || Sportradar::Api::Football::Nfl::Api.new
end