Module: Kaminari::MongoidCriteriaMethods::InstanceMethods
- Defined in:
- lib/kaminari/models/mongoid_criteria_methods.rb
Instance Method Summary collapse
-
#limit_value ⇒ Object
:nodoc:.
-
#offset_value ⇒ Object
:nodoc:.
-
#total_count ⇒ Object
:nodoc:.
Instance Method Details
#limit_value ⇒ Object
:nodoc:
5 6 7 |
# File 'lib/kaminari/models/mongoid_criteria_methods.rb', line 5 def limit_value #:nodoc: [:limit] end |
#offset_value ⇒ Object
:nodoc:
9 10 11 |
# File 'lib/kaminari/models/mongoid_criteria_methods.rb', line 9 def offset_value #:nodoc: [:skip] end |
#total_count ⇒ Object
:nodoc:
13 14 15 |
# File 'lib/kaminari/models/mongoid_criteria_methods.rb', line 13 def total_count #:nodoc: count end |