Sha256: 5edc75e620fb2688952ef3fa09f1237db0deb45fa21cbf626e9116567b25924a

Contents?: true

Size: 312 Bytes

Versions: 9

Compression:

Stored size: 312 Bytes

Contents

module Kaminari
  module PluckyCriteriaMethods
    extend ActiveSupport::Concern
    module InstanceMethods
      def limit_value #:nodoc:
        options[:limit]
      end

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

      def total_count #:nodoc:
        count
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
wulffeld_kaminari-0.12.4.2 lib/kaminari/models/plucky_criteria_methods.rb
wulffeld_kaminari-0.12.4.1 lib/kaminari/models/plucky_criteria_methods.rb
sayso-kaminari-0.12.4.001 lib/kaminari/models/plucky_criteria_methods.rb
dimkiriyenko-kaminari-0.12.6 lib/kaminari/models/plucky_criteria_methods.rb
dimkiriyenko-kaminari-0.12.5 lib/kaminari/models/plucky_criteria_methods.rb
dimkiriyenko-kaminari-0.12.4 lib/kaminari/models/plucky_criteria_methods.rb
kaminari-0.12.4 lib/kaminari/models/plucky_criteria_methods.rb
kaminari-0.12.3 lib/kaminari/models/plucky_criteria_methods.rb
kaminari-0.12.2 lib/kaminari/models/plucky_criteria_methods.rb