class User

Included Modules

Defined in:

models/user.cr:3
models/user.cr:6

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

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

Instance Method Detail

def authenticate(password : String) #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def email : String | Nil #

[View source]
def email! : String #

[View source]
def email=(email : String | Nil) #

[View source]
def hashed_password : String | Nil #

[View source]
def hashed_password! : String #

[View source]
def hashed_password=(hashed_password : String | Nil) #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def name : String | Nil #

[View source]
def name! : String #

[View source]
def name=(name : String | Nil) #

[View source]
def password #

[View source]
def password=(password : Nil | String) #

[View source]
def password_changed? #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def username : String | Nil #

[View source]
def username! : String #

[View source]
def username=(username : String | Nil) #

[View source]
def valid_password_size? #

[View source]