struct User

Included Modules

Defined in:

models/user.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, name : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def admin? #

[View source]
def id : String #

[View source]
def moderator? #

[View source]
def name : String #

[View source]
def roles : Array(Role) #

[View source]