Method: FoundationApi::Service.where

Defined in:
lib/foundation_api/service.rb

.where(options) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/foundation_api/service.rb', line 11

def where(options)
  if options.is_a? Hash
    options = {:conditions => options }
  end
  res = request_data(translate_options(options))
  res && instantiate_objects(res)
end