Class: NbaRb::Game::BoxscoreMisc

Inherits:
Boxscore show all
Defined in:
lib/nba_rb/game/boxscore_misc.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

#stats_request

Methods included from Initializable

#initialize

Methods included from StatsHash

#create_stats_hash

Constructor Details

This class inherits a constructor from NbaRb::Game::Boxscore

Instance Method Details

#endpointObject



6
7
8
# File 'lib/nba_rb/game/boxscore_misc.rb', line 6

def endpoint
  self.class.endpoint
end

#players_miscObject



10
11
12
# File 'lib/nba_rb/game/boxscore_misc.rb', line 10

def players_misc
  create_stats_hash(@data[0])
end

#team_miscObject



14
15
16
# File 'lib/nba_rb/game/boxscore_misc.rb', line 14

def team_misc
  create_stats_hash(@data[1])
end