Class: NbaStats::Resources::TeamYearByYearStats

Inherits:
ResourceBase
  • Object
show all
Defined in:
lib/nba_stats/resources/team_year_by_year_stats.rb

Constant Summary collapse

VALID_RESULT_SETS =

Array of valid result set names for this resource

[
    :team_stats   #:team_id, :team_city, :team_name, :year, :gp, :wins, :losses, :win_pct, :conf_rank, :div_rank, :fgm, :fga, :fg_pct, :fg3_m, :fg3_a, :fg3_pct, :ftm, :fta, :ft_pct, :oreb, :dreb, :reb, :ast, :pf, :stl, :tov, :blk, :pts,
].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/team_year_by_year_stats.rb', line 16

def valid_result_sets
  VALID_RESULT_SETS
end