class KonoUtils::PaginateProxer

Simple PORO to proxyng the pagination operations

Attributes

collection[RW]

Public Class Methods

new(collection) click to toggle source
# File lib/kono_utils/paginate_proxer.rb, line 8
def initialize(collection)
  @collection = collection
end

Public Instance Methods

paginate(params={}) click to toggle source
# File lib/kono_utils/paginate_proxer.rb, line 12
def paginate(params={})
  raise "TO Override with the correct pagination method of the gem used"
end