struct
Runcobo::Pagination
- Runcobo::Pagination
- Struct
- Value
- Object
Overview
A pagination value shared by queries, in-memory lists and response templates. Request parsing and validation remain the caller's responsibility.
Defined in:
runcobo/pagination.crConstructors
Instance Method Summary
Constructor Detail
def self.new(page : Int | Nil = nil, per_page : Int | Nil = nil, *, default_per_page : Int32 = 20, max_per_page : Int32 = 100)
#