Sha256: b4665178e49727c0a4b46d17f5ca08bbd8c2941343d84bbd87cdbd0b53422d6b
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
module Eligible class Payment < APIResource class << self def get(params, api_key=nil) response, api_key = Eligible.request(:get, "/payment/status/#{params[:reference_id]}.json", api_key, params) Util.convert_to_eligible_object(response, api_key) end def all(api_key=nil) response, api_key = Eligible.request(:get, '/payment/status.json', api_key, {}) Util.convert_to_eligible_object(response, api_key) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eligible-2.4.1 | lib/eligible/payment.rb |