class Mirah::Data::PageInfo

PageInfo gives information on the current state of paging as returned by the server. This includes information about the start and the end cursors of the result set, and whether or not there are additiona pages. This can be used in combination with {Mirah::Filters::Paging} to make a stable cursor-based pagination call.

Public Instance Methods

next_page?() click to toggle source

@see has_next_page @return [Boolean]

# File lib/mirah/data/page_info.rb, line 29
def next_page?
  has_next_page
end
prev_page?() click to toggle source

@see has_previous_page @return [Boolean]

# File lib/mirah/data/page_info.rb, line 35
def prev_page?
  has_previous_page
end