Sha256: 6403bcb60955c8d23107103885375a144a69d84be68d5fb206fe8254f10e089b

Contents?: true

Size: 471 Bytes

Versions: 23

Compression:

Stored size: 471 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, api_key = nil)
      send_request(:get, '/coverage/cost_estimates.json', api_key, params)
    end

    def self.batch_medicare_post(params, api_key = nil)
      send_request(:post, '/medicare/coverage/batch.json', api_key, params)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
eligible-2.9.15 lib/eligible/coverage.rb
eligible-2.9.14 lib/eligible/coverage.rb
eligible-2.9.13 lib/eligible/coverage.rb
eligible-2.9.12 lib/eligible/coverage.rb
eligible-2.9.11 lib/eligible/coverage.rb
eligible-2.9.10 lib/eligible/coverage.rb
eligible-2.9.9 lib/eligible/coverage.rb
eligible-2.9.8 lib/eligible/coverage.rb
eligible-2.9.7 lib/eligible/coverage.rb
eligible-2.9.6 lib/eligible/coverage.rb
eligible-2.9.5 lib/eligible/coverage.rb
eligible-2.9.4 lib/eligible/coverage.rb
eligible-2.9.3 lib/eligible/coverage.rb
eligible-2.9.2 lib/eligible/coverage.rb
eligible-2.9.1 lib/eligible/coverage.rb
eligible-2.8.2 lib/eligible/coverage.rb
eligible-2.8.1 lib/eligible/coverage.rb
eligible-2.8.0 lib/eligible/coverage.rb
eligible-2.7.0 lib/eligible/coverage.rb
eligible-2.6.3 lib/eligible/coverage.rb