struct

Srcom::Run::Submission::Player

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
Source
new(rel : String = "user", id : String | Nil = nil, name : String | Nil = nil)

If this Player is a "user" it must have an id; if it is a "guest" it must have a name.

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

Instance methods

name
Source