Module: BootstrapPager::PluckyCriteriaMethods
- Defined in:
- lib/bootstrap_pager/models/plucky_criteria_methods.rb
Instance Method Summary collapse
-
#limit_value ⇒ Object
:nodoc:.
-
#offset_value ⇒ Object
:nodoc:.
-
#total_count ⇒ Object
:nodoc:.
Methods included from ConfigurationMethods::ClassMethods
#default_per_page, #max_pages, #max_pages_per, #max_paginates_per, #max_per_page, #paginates_per
Methods included from PageScopeMethods
#current_page, #first_page?, #last_page?, #next_page, #out_of_range?, #padding, #per, #prev_page, #total_pages
Instance Method Details
#limit_value ⇒ Object
:nodoc:
6 7 8 |
# File 'lib/bootstrap_pager/models/plucky_criteria_methods.rb', line 6 def limit_value #:nodoc: [:limit] end |
#offset_value ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/bootstrap_pager/models/plucky_criteria_methods.rb', line 10 def offset_value #:nodoc: [:skip] end |
#total_count ⇒ Object
:nodoc:
14 15 16 |
# File 'lib/bootstrap_pager/models/plucky_criteria_methods.rb', line 14 def total_count #:nodoc: count end |