Module: AhlScraper::PlayoffBrackets

Defined in:
lib/ahl_scraper/playoff_brackets.rb,
lib/ahl_scraper/resources/playoff_brackets/game.rb,
lib/ahl_scraper/resources/playoff_brackets/team.rb,
lib/ahl_scraper/resources/playoff_brackets/round.rb,
lib/ahl_scraper/resources/playoff_brackets/series.rb

Defined Under Namespace

Classes: Game, Round, Series, Team

Class Method Summary collapse

Class Method Details

.retrieve(season_id) ⇒ Object



11
12
13
14
# File 'lib/ahl_scraper/playoff_brackets.rb', line 11

def retrieve(season_id)
  bracket_data = PlayoffBracketDataFetcher.new(season_id).call
  PlayoffBracket.new(bracket_data)
end