class CrowdPay::Account
Attributes
account_type_id[RW]
available_balance[RW]
contact_email[RW]
contact_name[RW]
contact_phone[RW]
created_by_ip_address[RW]
current_balance[RW]
draft_account_name[RW]
draft_account_number[RW]
draft_account_type_id[RW]
draft_routing_number[RW]
id[RW]
idology_id[RW]
investor_id[RW]
is_cip_satisfied[RW]
is_mailing_address_foreign[RW]
mailing_address_1[RW]
mailing_address_2[RW]
mailing_city[RW]
mailing_country[RW]
mailing_state[RW]
mailing_zip[RW]
name_1[RW]
name_2[RW]
name_3[RW]
name_4[RW]
number[RW]
portal_account_number[RW]
status_id[RW]
w9_code_id[RW]
Public Class Methods
create(data)
click to toggle source
# File lib/crowd_pay/account.rb, line 63 def self.create(data) url = 'Crowdfunding/api/Account' response = post(url, data) parse(response) end
find(id)
click to toggle source
# File lib/crowd_pay/account.rb, line 51 def self.find(id) url = "Crowdfunding/api/Account/#{id}" response = get(url) parse(response) end
find_with_assets(account_id)
click to toggle source
# File lib/crowd_pay/account.rb, line 75 def self.find_with_assets(account_id) url = "Crowdfunding/api/V2/Account/#{account_id}/Assets/All" response = get(url) parse(response) end
find_with_transactions(id)
click to toggle source
# File lib/crowd_pay/account.rb, line 57 def self.find_with_transactions(id) url = "Crowdfunding/api/Account/#{id}/Transaction" response = get(url) parse(response) end
update(id, data)
click to toggle source
# File lib/crowd_pay/account.rb, line 69 def self.update(id, data) url = "Crowdfunding/api/Account/#{id}" response = put(url, data) parse(response) end