module NbaStats::DraftCombineDrillResults
Constants
- DRAFT_COMBINE_DRILL_RESULTS_PATH
The path of the draftcombinedrillresults API
Public Instance Methods
draft_combine_drill_results( season_year, league_id=NbaStats::Constants::LEAGUE_ID_NBA )
click to toggle source
Calls the draftcombinedrillresults API and returns a DraftCombineDrillResults
resource.
@param season_year [String] @param league_id [String] @return [NbaStats::Resources::DraftCombineDrillResults]
# File lib/nba_stats/stats/draft_combine_drill_results.rb, line 15 def draft_combine_drill_results( season_year, league_id=NbaStats::Constants::LEAGUE_ID_NBA ) NbaStats::Resources::DraftCombineDrillResults.new( get(DRAFT_COMBINE_DRILL_RESULTS_PATH, { :LeagueID => league_id, :SeasonYear => season_year }) ) end