Class: Atrium::PaginationBatch
- Inherits:
-
Array
- Object
- Array
- Atrium::PaginationBatch
- Defined in:
- lib/atrium/pageable.rb
Instance Attribute Summary collapse
-
#current_page ⇒ Object
Returns the value of attribute current_page.
-
#records_per_page ⇒ Object
Returns the value of attribute records_per_page.
-
#total_entries ⇒ Object
Returns the value of attribute total_entries.
-
#total_pages ⇒ Object
Returns the value of attribute total_pages.
Instance Attribute Details
#current_page ⇒ Object
Returns the value of attribute current_page.
3 4 5 |
# File 'lib/atrium/pageable.rb', line 3 def current_page @current_page end |
#records_per_page ⇒ Object
Returns the value of attribute records_per_page.
3 4 5 |
# File 'lib/atrium/pageable.rb', line 3 def records_per_page @records_per_page end |
#total_entries ⇒ Object
Returns the value of attribute total_entries.
3 4 5 |
# File 'lib/atrium/pageable.rb', line 3 def total_entries @total_entries end |
#total_pages ⇒ Object
Returns the value of attribute total_pages.
3 4 5 |
# File 'lib/atrium/pageable.rb', line 3 def total_pages @total_pages end |