Class: NbaRb::Team::Stats
- Defined in:
- lib/nba_rb/team/stats.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Attributes inherited from Dashboard
#date_from, #date_to, #game_segment, #last_n_games, #league_id, #location, #measure_type, #month, #opponent_team_id, #outcome, #pace_adjust, #per_mode, #period, #plus_minus, #po_round, #rank, #season, #season_segment, #season_type, #shot_clock_range, #team_id, #vs_conference, #vs_division
Instance Method Summary collapse
-
#initialize(*args) ⇒ Stats
constructor
A new instance of Stats.
- #overall ⇒ Object
Methods inherited from Dashboard
Methods included from StatsRequest
Methods included from StatsHash
Constructor Details
#initialize(*args) ⇒ Stats
Returns a new instance of Stats.
8 9 10 |
# File 'lib/nba_rb/team/stats.rb', line 8 def initialize(*args) super(*args) end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
6 7 8 |
# File 'lib/nba_rb/team/stats.rb', line 6 def data @data end |
Instance Method Details
#overall ⇒ Object
12 13 14 |
# File 'lib/nba_rb/team/stats.rb', line 12 def overall create_stats_hash(@data[0]) end |