class CrowdPay::Asset

Attributes

cost_basis[RW]
created_by_ip_address[RW]
cusip_number[RW]
description[RW]
effective_date[RW]
id[RW]
interest_frequency[RW]
interest_rate[RW]
interest_type[RW]
market_value[RW]
maturity_date[RW]
number[RW]
quantity[RW]
sold_date[RW]
term[RW]
third_party_asset_number[RW]

Public Class Methods

find(account_id, id) click to toggle source
# File lib/crowd_pay/asset.rb, line 14
def self.find(account_id, id)
  url = "Crowdfunding/api/Account/#{account_id}/Assets/#{id}"
  response = get(url)
  parse(response)
end
find_with_transactions(account_id, id) click to toggle source
# File lib/crowd_pay/asset.rb, line 20
def self.find_with_transactions(account_id, id)
  url = "Crowdfunding/api/Account/#{account_id}/Assets/#{id}/Transactions"
  response = get(url)
  parse(response)
end