Method: ActiveResource::PaginatedCollection#next_page_number

Defined in:
lib/esp/extensions/active_resource/paginated_collection.rb

#next_page_numberString?

The next page number of data.

Returns:

  • (String, nil)


173
174
175
# File 'lib/esp/extensions/active_resource/paginated_collection.rb', line 173

def next_page_number
  Hash(next_page_params).fetch('page', {}).fetch('number', nil)
end