class Eligible::Payer

Public Class Methods

get(params, api_key = nil) click to toggle source
# File lib/eligible/payer.rb, line 7
def self.get(params, api_key = nil)
  send_request(:get, api_url('payers', params, :payer_id), api_key, params, :payer_id)
end
list(params, api_key = nil) click to toggle source
# File lib/eligible/payer.rb, line 3
def self.list(params, api_key = nil)
  send_request(:get, api_url('payers'), api_key, params)
end
search_options(params, api_key = nil) click to toggle source
# File lib/eligible/payer.rb, line 11
def self.search_options(params, api_key = nil)
  payer_id = Util.value(params, :payer_id)
  url = payer_id.nil? ? '/payers/search_options' : "/payers/#{payer_id}/search_options"
  send_request(:get, url, api_key, params)
end