mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
18 lines
323 B
Ruby
18 lines
323 B
Ruby
module Kaminari
|
|
module PluckyCriteriaMethods
|
|
include Kaminari::PageScopeMethods
|
|
include Kaminari::ConfigurationMethods::ClassMethods
|
|
|
|
def limit_value #:nodoc:
|
|
options[:limit]
|
|
end
|
|
|
|
def offset_value #:nodoc:
|
|
options[:skip]
|
|
end
|
|
|
|
def total_count #:nodoc:
|
|
count
|
|
end
|
|
end
|
|
end
|