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, name : String? = 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? #

[View source]
def name : String? #

[View source]
def rel : String #

[View source]