struct Srcom::Run::Submission::Player

Included Modules

Defined in:

srcr/mappings/run/submission/submission_player.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.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.


[View source]

Instance Method Detail

def id : String | Nil #

[View source]
def name : String | Nil #

[View source]
def rel : String #

[View source]