Class: FinApps::REST::Locations

Inherits:
FinAppsCore::REST::Resources
  • Object
show all
Defined in:
lib/finapps/rest/locations.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#list(filter = nil) ⇒ Object



6
7
8
9
# File 'lib/finapps/rest/locations.rb', line 6

def list(filter = nil)
  path = "#{end_point}?filter=#{filter}" unless filter.nil?
  super path
end

#update(id, params) ⇒ Object



11
12
13
14
# File 'lib/finapps/rest/locations.rb', line 11

def update(id, params)
  path = resource_path(id)
  super params, path
end