class

User

Inherits YAML::Serializable < JSON::Serializable < Granite::Base < Granite::Select < Granite::Migrator < Granite::ValidationHelpers < Granite::Validators < Granite::Transactions < Granite::Tables < Granite::Columns < Granite::Callbacks < Granite::Associations < Reference < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Class methods

adapter

Instance methods

avatar
Source
avatar=(avatar : String)
Source
color_preference
Source
color_preference=(color_preference : Int32)
Source
created_at
Source
created_at=(created_at : Time)
Source
email
Source
email=(email : String)
Source
games_lost
Source
games_lost=(games_lost : Int64)
Source
games_played
Source
games_played=(games_played : Int64)
Source
games_won
Source
games_won=(games_won : Int32)
Source
id=(id : Int64 | Nil)
Source
password
Source
password=(password : String)
Source
username
Source
username=(username : String)
Source