class CrowdPay::Transaction
Attributes
account_id[RW]
amount[RW]
asset_id[RW]
created_by_ip_address[RW]
cusip_number[RW]
date[RW]
description[RW]
effective_date[RW]
id[RW]
maturity_date[RW]
reference[RW]
status[RW]
Public Class Methods
debt_pay(data)
click to toggle source
# File lib/crowd_pay/transaction.rb, line 42 def self.debt_pay(data) url = "Crowdfunding/api/Account/#{data[:account_id]}/Transaction/DebtPay" response = post(url, data) parse(response) end
find(account_id, id)
click to toggle source
# File lib/crowd_pay/transaction.rb, line 18 def self.find(account_id, id) url = "Crowdfunding/api/Account/#{account_id}/Transaction/#{id}" response = get(url) parse(response) end
fund_account(data)
click to toggle source
# File lib/crowd_pay/transaction.rb, line 36 def self.fund_account(data) url = "Crowdfunding/api/Account/#{data[:account_id]}/Transaction/FundAccount" response = post(url, data) parse(response) end
fund_debt_escrow(data)
click to toggle source
# File lib/crowd_pay/transaction.rb, line 30 def self.fund_debt_escrow(data) url = "Crowdfunding/api/Account/#{data[:account_id]}/Transaction/FundDebtEscrow" response = post(url, data) parse(response) end
reinvest_debt(data)
click to toggle source
# File lib/crowd_pay/transaction.rb, line 48 def self.reinvest_debt(data) url = "Crowdfunding/api/Account/#{data[:account_id]}/Transaction/ReinvestDebt" response = post(url, data) parse(response) end
withdraw_funds(data)
click to toggle source
# File lib/crowd_pay/transaction.rb, line 24 def self.withdraw_funds(data) url = "Crowdfunding/api/Account/#{data[:account_id]}/Transaction/WithdrawFunds" response = post(url, data) parse(response) end