Class: FundAmerica::InvestorPayment

Inherits:
Object
  • Object
show all
Defined in:
lib/fund_america/investor_payment.rb

Class Method Summary collapse

Class Method Details

.details(investor_payment_id) ⇒ Object

End point: apps.fundamerica.com/api/investor_payments/:id (GET) Usage: FundAmerica::InvestorPayment.details(investor_payment_id) Output: Returns the details of an investor_payment with matching id



15
16
17
# File 'lib/fund_america/investor_payment.rb', line 15

def details(investor_payment_id)
  API::request(:get, "investor_payments/#{investor_payment_id}")
end

.listObject

End point: apps.fundamerica.com/api/investor_payments (GET) Usage: FundAmerica::InvestorPayment.list Output: Returns list of investor_payments



8
9
10
# File 'lib/fund_america/investor_payment.rb', line 8

def list
  API::request(:get, 'investor_payments')
end