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
142 143 144 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 142 def items_on_page @items_on_page end |
#number_of_pages ⇒ Object
Returns the value of attribute number_of_pages
142 143 144 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 142 def number_of_pages @number_of_pages end |
#page ⇒ Object
Returns the value of attribute page
142 143 144 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 142 def page @page end |
#total_count ⇒ Object
Returns the value of attribute total_count
142 143 144 |
# File 'lib/shutl/resource/rest_class_methods.rb', line 142 def total_count @total_count end |