Class: Onsi::Paginate::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/onsi/paginate.rb

Overview

Since:

  • 1.4.0

Instance Attribute Summary collapse

Instance Attribute Details

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



18
19
20
# File 'lib/onsi/paginate.rb', line 18

def params
  @params
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



18
19
20
# File 'lib/onsi/paginate.rb', line 18

def query
  @query
end