Class: Atrium::PaginationBatch

Inherits:
Array
  • Object
show all
Defined in:
lib/atrium/pageable.rb

Instance Attribute Summary collapse

Instance Attribute Details

#current_pageObject

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_pageObject

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_entriesObject

Returns the value of attribute total_entries.



3
4
5
# File 'lib/atrium/pageable.rb', line 3

def total_entries
  @total_entries
end

#total_pagesObject

Returns the value of attribute total_pages.



3
4
5
# File 'lib/atrium/pageable.rb', line 3

def total_pages
  @total_pages
end