Module: AhlScraper::Players

Defined in:
lib/ahl_scraper/players.rb,
lib/ahl_scraper/resources/players/draft_info.rb

Defined Under Namespace

Classes: DraftInfo

Class Method Summary collapse

Class Method Details

.retrieve(player_id) ⇒ Object



8
9
10
11
# File 'lib/ahl_scraper/players.rb', line 8

def retrieve(player_id)
  player_data = PlayerDataFetcher.new(player_id).call
  Player.new(player_data)
end