Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
KemalcrStarter::Core::Http::PageParams
Inherits
Struct
<
Value
<
Object
Constants
DEFAULT_PER_PAGE = 20
MAX_PER_PAGE = 100
Constructors
from_env
(env :
HTTP::Server::Context
) :
PageParams
Source
new
(page :
Int32
, per_page :
Int32
)
Source
Instance methods
clone
Source
copy_with
(page _page = @page, per_page _per_page = @per_page)
Source
offset
Source
page
per_page