Sha256: d019dcaa779ba04078aae577774d549c95eab4018e3e6572df8f43e2d2fe4a41
Contents?: true
Size: 550 Bytes
Versions: 24
Compression:
Stored size: 550 Bytes
Contents
module Eligible class Payer < APIResource def self.list(params, api_key = nil) send_request(:get, api_url('payers'), api_key, params) end def self.get(params, api_key = nil) send_request(:get, api_url('payers', params, :payer_id), api_key, params, :payer_id) end 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 end end
Version data entries
24 entries across 24 versions & 1 rubygems