Class: NbaStats::Resources::LeagueDashTeamStats

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

Constant Summary collapse

VALID_RESULT_SETS =

Array of valid result set names for this resource

[
    :league_dash_team_stats    # :team_id, :team_name, :gp, :w, :l, :w_pct, :min, :fgm, :fga, :fg_pct, :fg3_m, :fg3_a, :fg3_pct, :ftm, :fta, :ft_pct, :oreb, :dreb, :reb, :ast, :tov, :stl, :blk, :blka, :pf, :pfd, :pts, :plus_minus, :cfid, :cfparams
].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/league_dash_team_stats.rb', line 16

def valid_result_sets
  VALID_RESULT_SETS
end