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