Sha256: 292c5bb832a5f0da6efcd801ca04672751c2f9fe4edef686edbd26200da014c5

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

module Eligible
  class Coverage < CoverageResource
    def self.get_uri
      return '/coverage/all.json'
    end

    def self.post_uri
      return '/coverage/all/batch.json'
    end

    def self.cost_estimate(params, opts = {})
      send_request :get, '/coverage/cost_estimates.json', params, **opts
    end

    def self.cost_estimate_post(params, opts = {})
      send_request :post, '/coverage/cost_estimates.json', params, **opts
    end

    def self.batch_medicare_post(params, opts = {})
      send_request :post, '/medicare/coverage/batch.json', params, **opts
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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