Sha256: 99ade38cafb6e25dc39e00b787b463377071f502f81a861fde65f2ca44b2ee89

Contents?: true

Size: 230 Bytes

Versions: 12

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

module AhlScraper
  module Teams
    class << self
      def list(season_id)
        TeamDataFetcher.new(season_id).call&.map { |team| TeamListItem.new(team, season_id) }
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ahl_scraper-0.4.0 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.8 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.7 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.6 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.5 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.4 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.3 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.2 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.1 lib/ahl_scraper/teams.rb
ahl_scraper-0.3.0 lib/ahl_scraper/teams.rb
ahl_scraper-0.2.0 lib/ahl_scraper/teams.rb
ahl_scraper-0.1.1 lib/ahl_scraper/teams.rb