Sha256: b39f1d9ed4fe4441ef2cebe3a278543961f1ec229ff24d3773bac92557189f14

Contents?: true

Size: 510 Bytes

Versions: 4

Compression:

Stored size: 510 Bytes

Contents

module Eligible
  class Icd < APIResource

    def self.list(params, opts = {})
      send_request :get, "/icds/#{Util.value(params, :type)}", params, **opts
    end

    def self.describe(params, opts = {})
      send_request :get, "/icds/#{Util.value(params, :type)}/describe/#{Util.value(params, :code)}", params, **opts
    end

    def self.crosswalk(params, opts = {})
      send_request :get, "/icds/#{Util.value(params, :type)}/crosswalk/#{Util.value(params, :code)}", params, **opts
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eligible-3.1.0.beta4 lib/eligible/icd.rb
eligible-3.1.0.beta3 lib/eligible/icd.rb
eligible-3.1.0.beta2 lib/eligible/icd.rb
eligible-3.1.0.beta1 lib/eligible/icd.rb