Module: EngivenAPI::Client::Fund
- Included in:
- EngivenAPI::Client
- Defined in:
- lib/engiven/resources/fund.rb
Instance Method Summary collapse
- #create_fund(options = {}) ⇒ Object
- #find_fund(id) ⇒ Object
- #list_funds(options = {}) ⇒ Object
- #update_fund(id, options = {}) ⇒ Object
Instance Method Details
#create_fund(options = {}) ⇒ Object
8 9 10 |
# File 'lib/engiven/resources/fund.rb', line 8 def create_fund( = {}) post('/funds', ) end |
#find_fund(id) ⇒ Object
12 13 14 |
# File 'lib/engiven/resources/fund.rb', line 12 def find_fund(id) get("/funds/#{id}") end |
#list_funds(options = {}) ⇒ Object
4 5 6 |
# File 'lib/engiven/resources/fund.rb', line 4 def list_funds( = {}) get('/funds', ) end |
#update_fund(id, options = {}) ⇒ Object
16 17 18 |
# File 'lib/engiven/resources/fund.rb', line 16 def update_fund(id, = {}) post("/funds/#{id}", ) end |