class CrowdPay::Investor

Attributes

birth_date[RW]
created_by_ip_address[RW]
email[RW]
first_name[RW]
id[RW]
investor_key[RW]
is_cip_satisfied[RW]
is_mailing_address_foreign[RW]
is_person[RW]
last_name[RW]
mailing_address_1[RW]
mailing_address_2[RW]
mailing_city[RW]
mailing_country[RW]
mailing_state[RW]
mailing_zip[RW]
middle_name[RW]
name[RW]
portal_investor_number[RW]
primary_phone[RW]
secondary_phone[RW]
tax_id_number[RW]

Public Class Methods

create(data) click to toggle source
# File lib/crowd_pay/investor.rb, line 52
def self.create(data)
  url = 'Crowdfunding/api/Investor'
  response = post(url, data)
  parse(response)
end
find(id) click to toggle source
# File lib/crowd_pay/investor.rb, line 46
def self.find(id)
  url = "Crowdfunding/api/Investor/#{id}"
  response = get(url)
  parse(response)
end