Sha256: 6ee5505984ed689ad52db2b99932fbccaf428d6d4b0301bc3fcccb2e9b6c348f

Contents?: true

Size: 460 Bytes

Versions: 7

Compression:

Stored size: 460 Bytes

Contents

module ArtemisApi
  class Completion < ArtemisApi::Model
    json_type 'completions'

    def self.find(id:, facility_id:, client:, include: nil, force: false)
      client.find_one(self.json_type, id, facility_id: facility_id, include: include, force: force)
    end

    def self.find_all(facility_id:, client:, include: nil, filters: nil)
      client.find_all(self.json_type, facility_id: facility_id, include: include, filters: filters)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
artemis_api-0.7.4 lib/artemis_api/completion.rb
artemis_api-0.5.1 lib/artemis_api/completion.rb
artemis_api-0.4.0 lib/artemis_api/completion.rb
artemis_api-0.3.0 lib/artemis_api/completion.rb
artemis_api-0.2.1 lib/artemis_api/completion.rb
artemis_api-0.2.0 lib/artemis_api/completion.rb
artemis_api-0.1.0 lib/artemis_api/completion.rb