Module: NBA::IstStandings
- Defined in:
- lib/nba/ist_standings.rb
Overview
Provides methods to retrieve NBA In-Season Tournament standings
Constant Summary collapse
- RESULT_SET =
Result set name for IST standings
"Standings".freeze
Class Method Summary collapse
-
.all(season: Utils.current_season, league: League::NBA, client: CLIENT) ⇒ Collection
Retrieves In-Season Tournament standings for a season.
Class Method Details
.all(season: Utils.current_season, league: League::NBA, client: CLIENT) ⇒ Collection
Retrieves In-Season Tournament standings for a season
25 26 27 28 29 |
# File 'lib/nba/ist_standings.rb', line 25 def self.all(season: Utils.current_season, league: League::NBA, client: CLIENT) league_id = Utils.extract_league_id(league) path = build_path(season, league_id) ResponseParser.parse(client.get(path), result_set: RESULT_SET) { |data| build_standing(data) } end |