Class: FundAmerica::InvestmentPayment
- Inherits:
-
Object
- Object
- FundAmerica::InvestmentPayment
- Defined in:
- lib/fund_america/investment_payment.rb
Class Method Summary collapse
-
.details(investment_payment_id) ⇒ Object
End point: apps.fundamerica.com/api/investment_payments/:id (GET) Usage: FundAmerica::InvestmentPayment.details(investment_payment_id) Output: Returns the details of an investment_payment with matching id.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/investment_payments (GET) Usage: FundAmerica::InvestmentPayment.list Output: Returns list of investment_payments.
Class Method Details
.details(investment_payment_id) ⇒ Object
End point: apps.fundamerica.com/api/investment_payments/:id (GET) Usage: FundAmerica::InvestmentPayment.details(investment_payment_id) Output: Returns the details of an investment_payment with matching id
15 16 17 |
# File 'lib/fund_america/investment_payment.rb', line 15 def details(investment_payment_id) API::request(:get, "investment_payments/#{investment_payment_id}") end |
.list ⇒ Object
End point: apps.fundamerica.com/api/investment_payments (GET) Usage: FundAmerica::InvestmentPayment.list Output: Returns list of investment_payments
8 9 10 |
# File 'lib/fund_america/investment_payment.rb', line 8 def list API::request(:get, 'investment_payments') end |