Sha256: 750a9a4196318d9744a5d582d16945ccce013c04dcbf67ca7399cc9acb7d2a01
Contents?: true
Size: 608 Bytes
Versions: 15
Compression:
Stored size: 608 Bytes
Contents
module AnswersEngine module Client class ScraperJobOutput < AnswersEngine::Client::Base def find(scraper_name, collection, id) self.class.get("/scrapers/#{scraper_name}/current_job/output/collections/#{collection}/records/#{id}", @options) end def all(scraper_name, collection = 'default') self.class.get("/scrapers/#{scraper_name}/current_job/output/collections/#{collection}/records", @options) end def collections(scraper_name) self.class.get("/scrapers/#{scraper_name}/current_job/output/collections", @options) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems