Module: ResourceFull::Query
- Defined in:
- lib/resource_full/query.rb
Defined Under Namespace
Modules: ClassMethods Classes: CustomParameter, OrderParameter, Parameter, ScopedParameter
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/resource_full/query.rb', line 4 def included(base) super(base) base.send :extend, ClassMethods base.queryable_with :limit, :scope => lambda {|limit| { :limit => limit }} base.queryable_with :offset, :scope => lambda {|offset| { :offset => offset }} base.queryable_with_order end |