class CurrencyCloud::WithdrawalAccount

Public Class Methods

find(params = {}) click to toggle source
# File lib/currency_cloud/withdrawal_account.rb, line 7
def self.find(params = {})
  result = client.get("/", params)
  WithdrawalAccounts.new(:withdrawal_accounts, self, result)
end
pull_funds(withdrawal_account_id, params = {}) click to toggle source
# File lib/currency_cloud/withdrawal_account.rb, line 12
def self.pull_funds(withdrawal_account_id, params = {})
  result = client.post("#{withdrawal_account_id}/pull_funds", params)
  WithdrawalAccountFunds.new(result)
end