Sha256: 86b9592c40bbdff48af7f37837f9f1eb42b89e7883a032c6dc17b08d650830cd
Contents?: true
Size: 788 Bytes
Versions: 8
Compression:
Stored size: 788 Bytes
Contents
module AnswersEngine module Client class JobLog < AnswersEngine::Client::Base def all_job_page_log(job_id, gid, opts={}) params = @options.merge(opts) self.class.get("/jobs/#{job_id}/pages/#{gid}/log", params) end def scraper_all_job_page_log(scraper_name, gid, opts={}) params = @options.merge(opts) self.class.get("/scrapers/#{scraper_name}/current_job/pages/#{gid}/log", params) end def all_job_log(job_id, opts={}) params = @options.merge(opts) self.class.get("/jobs/#{job_id}/log", params) end def scraper_all_job_log(scraper_name, opts={}) params = @options.merge(opts) self.class.get("/scrapers/#{scraper_name}/current_job/log", params) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems