Class: Rails::Surrender::QueryParamParser::Pagination

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails/surrender/helpers/query_param_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



22
23
24
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 22

def page
  @page
end

#perObject

Returns the value of attribute per

Returns:

  • (Object)

    the current value of per



22
23
24
# File 'lib/rails/surrender/helpers/query_param_parser.rb', line 22

def per
  @per
end