Sha256: 2912f5db04f1f8cb6e8a86ec1bb0e31339e090440b1980e18a44fdcd2cac300a

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

module BootstrapPager
  module PluckyCriteriaMethods
    include BootstrapPager::PageScopeMethods
    include BootstrapPager::ConfigurationMethods::ClassMethods

    def limit_value #:nodoc:
      options[:limit]
    end

    def offset_value #:nodoc:
      options[:skip]
    end

    def total_count #:nodoc:
      count
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap_pager-0.11.0 lib/bootstrap_pager/models/plucky_criteria_methods.rb
bootstrap_pager-0.10.1 lib/bootstrap_pager/models/plucky_criteria_methods.rb
bootstrap_pager-0.10.0 lib/bootstrap_pager/models/plucky_criteria_methods.rb
bootstrap_pager-0.9.3 lib/bootstrap_pager/models/plucky_criteria_methods.rb
bootstrap_pager-0.9.2 lib/bootstrap_pager/models/plucky_criteria_methods.rb
bootstrap_pager-0.9.1 lib/bootstrap_pager/models/plucky_criteria_methods.rb
bootstrap_pager-0.9.0 lib/bootstrap_pager/models/plucky_criteria_methods.rb