Module: EngivenAPI::Client::Fund

Included in:
EngivenAPI::Client
Defined in:
lib/engiven/resources/fund.rb

Instance Method Summary collapse

Instance Method Details

#create_fund(options = {}) ⇒ Object



8
9
10
# File 'lib/engiven/resources/fund.rb', line 8

def create_fund(options = {})
  post('/funds', options)
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(options = {})
  get('/funds', options)
end

#update_fund(id, options = {}) ⇒ Object



16
17
18
# File 'lib/engiven/resources/fund.rb', line 16

def update_fund(id, options = {})
  post("/funds/#{id}", options)
end