Class: Wallaby::Custom::ModelPaginationProvider

Inherits:
ModelPaginationProvider show all
Defined in:
lib/adaptors/wallaby/custom/model_pagination_provider.rb

Overview

Model pagination provider for Wallaby::Custom mode

Instance Method Summary collapse

Methods inherited from ModelPaginationProvider

#first_page?, #first_page_number, #from, #initialize, #last_page?, #last_page_number, #next_page?, #next_page_number, #number_of_pages, #page_number, #page_size, #prev_page?, #prev_page_number, #to, #total

Constructor Details

This class inherits a constructor from Wallaby::ModelPaginationProvider

Instance Method Details

#paginatable?false

By default, it doesn’t support pagination

Returns:

  • (false)


9
10
11
# File 'lib/adaptors/wallaby/custom/model_pagination_provider.rb', line 9

def paginatable?
  false
end