Method: RTX::API::Collection#has_next?

Defined in:
lib/rtx/api/collection.rb

#has_next?Boolean

Responds true if the collection has another page ahead of it

Returns:

  • (Boolean)


100
101
102
# File 'lib/rtx/api/collection.rb', line 100

def has_next?
  current_page < meta[:_total_pages]
end