Class: NbaRb::Team::ShootingSplits

Inherits:
Dashboard show all
Defined in:
lib/nba_rb/team/shooting_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

#stats_request

Methods included from Initializable

#initialize

Methods included from StatsHash

#create_stats_hash

Constructor Details

This class inherits a constructor from NbaRb::Team::Dashboard

Instance Method Details

#assissted_byObject



30
31
32
# File 'lib/nba_rb/team/shooting_splits.rb', line 30

def assissted_by
  create_stats_hash(@data[7])
end

#assisted_shotsObject



18
19
20
# File 'lib/nba_rb/team/shooting_splits.rb', line 18

def assisted_shots
  create_stats_hash(@data[4])
end

#shot_5ftObject



6
7
8
# File 'lib/nba_rb/team/shooting_splits.rb', line 6

def shot_5ft
  create_stats_hash(@data[1])
end

#shot_8ftObject



10
11
12
# File 'lib/nba_rb/team/shooting_splits.rb', line 10

def shot_8ft
  create_stats_hash(@data[2])
end

#shot_areasObject



14
15
16
# File 'lib/nba_rb/team/shooting_splits.rb', line 14

def shot_areas
  create_stats_hash(@data[3])
end

#shot_type_detailObject



26
27
28
# File 'lib/nba_rb/team/shooting_splits.rb', line 26

def shot_type_detail
  create_stats_hash(@data[6])
end

#shot_type_summaryObject



22
23
24
# File 'lib/nba_rb/team/shooting_splits.rb', line 22

def shot_type_summary
  create_stats_hash(@data[5])
end