module Eligible class Coverage < APIResource class << self def get(params, api_key=nil) response, api_key = Eligible.request(:get, '/coverage/all.json', api_key, params) Util.convert_to_eligible_object(response, api_key) end def batch_post(params, api_key=nil) response, api_key = Eligible.request(:post, '/coverage/all/batch.json', api_key, params) Util.convert_to_eligible_object(response, api_key) end def batch_medicare_post(params, api_key=nil) response, api_key = Eligible.request(:post, '/medicare/coverage/batch.json', api_key, params) Util.convert_to_eligible_object(response, api_key) end end end end