Class: NbaRb::Team::PerformanceSplits
- Defined in:
- lib/nba_rb/team/performance_splits.rb
Instance Attribute Summary
Attributes inherited from Dashboard
#data, #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
Methods inherited from Dashboard
#endpoint, #initialize, #overall
Methods included from StatsRequest
Methods included from Initializable
Methods included from StatsHash
Constructor Details
This class inherits a constructor from NbaRb::Team::Dashboard
Instance Method Details
#points_against ⇒ Object
14 15 16 |
# File 'lib/nba_rb/team/performance_splits.rb', line 14 def points_against create_stats_hash(@data[3]) end |
#points_scored ⇒ Object
10 11 12 |
# File 'lib/nba_rb/team/performance_splits.rb', line 10 def points_scored create_stats_hash(@data[2]) end |
#score_differential ⇒ Object
6 7 8 |
# File 'lib/nba_rb/team/performance_splits.rb', line 6 def score_differential create_stats_hash(@data[1]) end |