Class: CheapShark::GamesFetcher

Inherits:
Fetcher
  • Object
show all
Defined in:
lib/cheapshark/fetchers/games_fetcher.rb

Constant Summary collapse

FETCHER_ENDPOINT =
'/games'

Instance Method Summary collapse

Methods inherited from Fetcher

#initialize

Constructor Details

This class inherits a constructor from CheapShark::Fetcher

Instance Method Details

#resultsObject



9
10
11
# File 'lib/cheapshark/fetchers/games_fetcher.rb', line 9

def results
  @results.map { |result| CheapShark::Game.new :search, result }
end