Module: Tagliani::Concerns::Search::ClassMethods

Defined in:
lib/tagliani/concerns/search.rb

Instance Method Summary collapse

Instance Method Details

#search(body: {}, where: nil) ⇒ Object



7
8
9
# File 'lib/tagliani/concerns/search.rb', line 7

def search(body: {}, where: nil)
  Tagliani::Search.new(body: body, where: where).serialize(type: "object")
end