Sha256: 8f7f351337578a7e8c83d9ccb3c7a1096bbeb2bbd360164f1c9ff3c3b7800c9c

Contents?: true

Size: 370 Bytes

Versions: 10

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

require "ahl_scraper/fetchers/scoreboards/data_fetcher"

require "ahl_scraper/resources/scoreboards/team"

module AhlScraper
  module Scoreboards
    class << self
      def list(start_date, end_date)
        DataFetcher.new(start_date: start_date, end_date: end_date).call&.map { |game| Scoreboard.new(game) }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ahl_scraper-0.4.1 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.4.0 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.8 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.7 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.6 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.5 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.4 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.3 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.2 lib/ahl_scraper/scoreboards.rb
ahl_scraper-0.3.1 lib/ahl_scraper/scoreboards.rb