Module: RockRMS::Client::Fund

Included in:
RockRMS::Client
Defined in:
lib/rock_rms/resources/fund.rb

Instance Method Summary collapse

Instance Method Details

#find_fund(id) ⇒ Object



9
10
11
12
# File 'lib/rock_rms/resources/fund.rb', line 9

def find_fund(id)
  res = get(fund_path(id))
  Response::Fund.format(res)
end

#list_funds(options = {}) ⇒ Object



4
5
6
7
# File 'lib/rock_rms/resources/fund.rb', line 4

def list_funds(options = {})
  res = get(fund_path, options)
  Response::Fund.format(res)
end