Class: NbaRb::Team::GeneralSplits
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
#stats_request
#initialize
Methods included from StatsHash
#create_stats_hash
Instance Method Details
#by_location ⇒ Object
6
7
8
|
# File 'lib/nba_rb/team/general_splits.rb', line 6
def by_location
create_stats_hash(@data[1])
end
|
#days_rest ⇒ Object
22
23
24
|
# File 'lib/nba_rb/team/general_splits.rb', line 22
def days_rest
create_stats_hash(@data[5])
end
|
#monthly ⇒ Object
14
15
16
|
# File 'lib/nba_rb/team/general_splits.rb', line 14
def monthly
create_stats_hash(@data[3])
end
|
#pre_post_all_star ⇒ Object
18
19
20
|
# File 'lib/nba_rb/team/general_splits.rb', line 18
def pre_post_all_star
create_stats_hash(@data[4])
end
|
#wins_losses ⇒ Object
10
11
12
|
# File 'lib/nba_rb/team/general_splits.rb', line 10
def wins_losses
create_stats_hash(@data[2])
end
|