Class: CheapShark::DealFetcher

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

Constant Summary collapse

FETCHER_ENDPOINT =
'/deals'

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/deal_fetcher.rb', line 9

def results
  CheapShark::Deal.new :by_id, @results
end