Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 594 Bytes

PaginationMeta.md

File metadata and controls

26 lines (20 loc) · 594 Bytes

LagoAPI::PaginationMeta

Properties

Name Type Description Notes
current_page Integer Current page.
next_page Integer Next page. [optional]
prev_page Integer Previous page. [optional]
total_pages Integer Total number of pages.
total_count Integer Total number of records.

Example

require 'lago_ruby'

instance = LagoAPI::PaginationMeta.new(
  current_page: 2,
  next_page: 3,
  prev_page: 1,
  total_pages: 4,
  total_count: 70
)