Class: NbaStats::Resources::CommonTeamRoster

Inherits:
ResourceBase show all
Defined in:
lib/nba_stats/resources/common_team_roster.rb

Constant Summary collapse

VALID_RESULT_SETS =

Array of valid result set names for this resource

[
    :common_team_roster,  #:team_id, :season, :league_id, :player, :num, :position, :height, :weight, :birth_date, :age, :exp, :school, :player_id,
    :coaches              #:team_id, :season, :coach_id, :first_name, :last_name, :coach_name, :coach_code, :is_assistant, :coach_type, :school, :sort_sequence,
].freeze

Instance Attribute Summary

Attributes inherited from ResourceBase

#json, #name, #params, #result_sets

Instance Method Summary collapse

Methods inherited from ResourceBase

#initialize, #to_s

Constructor Details

This class inherits a constructor from NbaStats::Resources::ResourceBase

Instance Method Details

#valid_result_setsArray

Returns:

  • (Array)


16
17
18
# File 'lib/nba_stats/resources/common_team_roster.rb', line 16

def valid_result_sets
  VALID_RESULT_SETS
end