struct

Srcom::Guest

Inherits JSON::Serializable::Strict / JSON::Serializable / Struct / Value / Object

Has shorthand methods to getting the resources that the Links in #links point to.

BUG: For some reason, in some contexts a Guest can have a nil name. This is a problem of the API.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

name
Source
name=(name : String | Nil)
Source
rel=(rel : String | Nil)
Source
runs(page_size : Int32 = 200) : Srcom::Api::PageIterator(Run)

Gets all Runs completed by this Guest.

NOTE: As Guests likely don't play too many runs before signing up, this request shouldn't crash.

Source