Class: FundAmerica::InvestorPayment
- Inherits:
-
Object
- Object
- FundAmerica::InvestorPayment
- Defined in:
- lib/fund_america/investor_payment.rb
Class Method Summary collapse
-
.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.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/investor_payments (GET) Usage: FundAmerica::InvestorPayment.list Output: Returns list of investor_payments.
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 |
.list ⇒ Object
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 |