Class: Shutl::Resource::RestClassMethods::RestCollection::Pagination
- Inherits:
-
Struct
- Object
- Struct
- Shutl::Resource::RestClassMethods::RestCollection::Pagination
- Defined in:
- lib/shutl/resource/rest_class_methods.rb
Instance Attribute Summary collapse
-
#items_on_page ⇒ Object
Returns the value of attribute items_on_page.
-
#number_of_pages ⇒ Object
Returns the value of attribute number_of_pages.
-
#page ⇒ Object
Returns the value of attribute page.
-
#total_count ⇒ Object
Returns the value of attribute total_count.
Instance Attribute Details
#items_on_page ⇒ Object
Returns the value of attribute 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_pages ⇒ Object
Returns the value of attribute number_of_pages
155 156 157 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 155 def number_of_pages @number_of_pages end |
#page ⇒ Object
Returns the value of attribute page
155 156 157 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 155 def page @page end |
#total_count ⇒ Object
Returns the value of attribute total_count
155 156 157 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 155 def total_count @total_count end |