class XIVAPI::Dataclasses::Page(T)

Overview

A class that represents a page of results from paginated endpoints. The Page class is a generic, so that we can use it for all kinds of endpoints.

Included Modules

Defined in:

dataclasses/other/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def pagination : Pagination #

[View source]
def results : Array(T) #

[View source]