Module: NBA::DraftCombineSpotShooting
- Defined in:
- lib/nba/draft_combine_spot_shooting.rb
Overview
Provides methods to retrieve draft combine spot shooting data
Defined Under Namespace
Modules: CollegeRange, FifteenFoot, NbaRange, ResultAttributes
Constant Summary collapse
- RESULTS =
Result set name
"Results".freeze
Class Method Summary collapse
-
.all(season:, league: League::NBA, client: CLIENT) ⇒ Collection
Retrieves draft combine spot shooting results for a season.
Class Method Details
.all(season:, league: League::NBA, client: CLIENT) ⇒ Collection
Retrieves draft combine spot shooting results for a season
23 24 25 26 27 28 |
# File 'lib/nba/draft_combine_spot_shooting.rb', line 23 def self.all(season:, league: League::NBA, client: CLIENT) league_id = Utils.extract_league_id(league) path = build_path(season, league_id) response = client.get(path) parse_response(response) end |