Method: Sink::PageCursorSharedRef#next_page

Defined in:
lib/sink/page_cursor_shared_ref.rb

#next_pageSink::PageCursorSharedRef



47
48
49
50
51
52
# File 'lib/sink/page_cursor_shared_ref.rb', line 47

def next_page
  if !next_page?
    raise "No more pages available; please check #next_page? before calling #next_page"
  end
  client.request(Util.deep_merge(req, {query: {cursor: cursor}}), opts)
end