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

Version Path
answersengine-0.10.1 lib/answersengine/client/job_output.rb
answersengine-0.10.0 lib/answersengine/client/job_output.rb
answersengine-0.9.1 lib/answersengine/client/job_output.rb
answersengine-0.9.0 lib/answersengine/client/job_output.rb
answersengine-0.8.0 lib/answersengine/client/job_output.rb
answersengine-0.7.0 lib/answersengine/client/job_output.rb
answersengine-0.6.0 lib/answersengine/client/job_output.rb
answersengine-0.5.0 lib/answersengine/client/job_output.rb
answersengine-0.4.1 lib/answersengine/client/job_output.rb
answersengine-0.4.0 lib/answersengine/client/job_output.rb
answersengine-0.3.3 lib/answersengine/client/job_output.rb
answersengine-0.3.2 lib/answersengine/client/job_output.rb
answersengine-0.3.1 lib/answersengine/client/job_output.rb
answersengine-0.3.0 lib/answersengine/client/job_output.rb
answersengine-0.2.33 lib/answersengine/client/job_output.rb