class Datahen::Client::ScraperJobOutput

Public Instance Methods

all(scraper_name, collection = 'default') click to toggle source
# File lib/datahen/client/scraper_job_output.rb, line 8
def all(scraper_name, collection = 'default')

  self.class.get("/scrapers/#{scraper_name}/current_job/output/collections/#{collection}/records", @options)
end
collections(scraper_name) click to toggle source
# File lib/datahen/client/scraper_job_output.rb, line 13
def collections(scraper_name)
  self.class.get("/scrapers/#{scraper_name}/current_job/output/collections", @options)
end
find(scraper_name, collection, id) click to toggle source
# File lib/datahen/client/scraper_job_output.rb, line 4
def find(scraper_name, collection, id)
  self.class.get("/scrapers/#{scraper_name}/current_job/output/collections/#{collection}/records/#{id}", @options)
end