class Synapsis::Withdrawal
Public Class Methods
create(params)
click to toggle source
Note: If you do not supply the bank_id, Synapse will attempt to withdraw from the primary bank.
# File lib/synapsis/withdrawal.rb, line 6 def self.create(params) response = create_request(params) return_response(response) end
view(params)
click to toggle source
# File lib/synapsis/withdrawal.rb, line 11 def self.view(params) response = view_request(params) return_response(response) end
Private Class Methods
class_name()
click to toggle source
SynapseAPI's URI for withdrawals is /withdraw, not /withdrawal
# File lib/synapsis/withdrawal.rb, line 19 def self.class_name 'withdraw' end