Class: ActiveResource::Pagination::PagedArray

Inherits:
Array
  • Object
show all
Defined in:
lib/active_resource/pagination.rb

Instance Attribute Summary collapse

Instance Attribute Details

#current_pageObject

Returns the value of attribute current_page.



9
10
11
# File 'lib/active_resource/pagination.rb', line 9

def current_page
  @current_page
end

#total_pagesObject

Returns the value of attribute total_pages.



8
9
10
# File 'lib/active_resource/pagination.rb', line 8

def total_pages
  @total_pages
end