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 email : String #

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

[View source]
def hashed_password : String #

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

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def name : String #

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

[View source]
def password #

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

[View source]
def password_changed? #

[View source]
def phone : String #

[View source]
def phone=(phone : String) #

[View source]
def valid_password_size? #

[View source]