Class: Jquard::Tables::Query::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/jquard/tables/query.rb

Instance Attribute Summary collapse

Instance Attribute Details

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def direction
  @direction
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def from
  @from
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def page
  @page
end

#pagesObject

Returns the value of attribute pages

Returns:

  • (Object)

    the current value of pages



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def pages
  @pages
end

#per_pageObject

Returns the value of attribute per_page

Returns:

  • (Object)

    the current value of per_page



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def per_page
  @per_page
end

#recordsObject

Returns the value of attribute records

Returns:

  • (Object)

    the current value of records



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def records
  @records
end

#sortObject

Returns the value of attribute sort

Returns:

  • (Object)

    the current value of sort



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def sort
  @sort
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def to
  @to
end

#total_countObject

Returns the value of attribute total_count

Returns:

  • (Object)

    the current value of total_count



7
8
9
# File 'lib/jquard/tables/query.rb', line 7

def total_count
  @total_count
end