Class: Shutl::Resource::RestClassMethods::RestCollection::Pagination

Inherits:
Struct
  • Object
show all
Defined in:
lib/shutl/resource/rest_class_methods.rb

Instance Attribute Summary collapse

Instance Attribute Details

#items_on_pageObject

Returns the value of attribute items_on_page

Returns:

  • (Object)

    the current value of items_on_page



155
156
157
# File 'lib/shutl/resource/rest_class_methods.rb', line 155

def items_on_page
  @items_on_page
end

#number_of_pagesObject

Returns the value of attribute number_of_pages

Returns:

  • (Object)

    the current value of number_of_pages



155
156
157
# File 'lib/shutl/resource/rest_class_methods.rb', line 155

def number_of_pages
  @number_of_pages
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



155
156
157
# File 'lib/shutl/resource/rest_class_methods.rb', line 155

def page
  @page
end

#total_countObject

Returns the value of attribute total_count

Returns:

  • (Object)

    the current value of total_count



155
156
157
# File 'lib/shutl/resource/rest_class_methods.rb', line 155

def total_count
  @total_count
end