Class: NbaRb::Game::BoxscoreUsage
- Defined in:
- lib/nba_rb/game/boxscore_usage.rb
Instance Attribute Summary
Attributes inherited from Boxscore
#data, #end_period, #end_range, #game_id, #range_type, #start_period, #start_range
Instance Method Summary collapse
Methods inherited from Boxscore
#initialize, #player_stats, #team_starter_bench_stats, #team_stats
Methods included from StatsRequest
Methods included from Initializable
Methods included from StatsHash
Constructor Details
This class inherits a constructor from NbaRb::Game::Boxscore
Instance Method Details
#endpoint ⇒ Object
6 7 8 |
# File 'lib/nba_rb/game/boxscore_usage.rb', line 6 def endpoint self.class.endpoint end |
#players_usage ⇒ Object
10 11 12 |
# File 'lib/nba_rb/game/boxscore_usage.rb', line 10 def players_usage create_stats_hash(@data[0]) end |
#team_usage ⇒ Object
14 15 16 |
# File 'lib/nba_rb/game/boxscore_usage.rb', line 14 def team_usage create_stats_hash(@data[1]) end |