Module: Poro::Modelify::FindMethods::ClassMethods

Defined in:
lib/poro/modelify.rb

Overview

The model find class methods.

Instance Method Summary collapse

Instance Method Details

#data_store_find(first_or_all, *args, &block) ⇒ Object

Calls data_store_find on the Context. See Poro::Context::FindMethods for details.



92
93
94
# File 'lib/poro/modelify.rb', line 92

def data_store_find(first_or_all, *args, &block)
  return context.data_store_find(first_or_all, *args, &block)
end

#find(arg, opts = {}) ⇒ Object

Calls find on the Context. See Poro::Context::FindMethods for details.



87
88
89
# File 'lib/poro/modelify.rb', line 87

def find(arg, opts={})
  return context.find(arg, opts)
end