Class: Wallaby::Configuration::Pagination

Inherits:
Object
  • Object
show all
Defined in:
lib/wallaby/configuration/pagination.rb

Overview

Configuration for pagination

Instance Attribute Summary collapse

Instance Attribute Details

#page_sizeInteger

Returns page size, default to 20.

Returns:

  • (Integer)

    page size, default to 20



8
9
10
# File 'lib/wallaby/configuration/pagination.rb', line 8

def page_size
  @page_size ||= DEFAULT_PAGE_SIZE
end