Class: FundAmerica::InvestmentPayment

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

Class Method Summary collapse

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

.listObject

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