struct Laspatule::Models::UserWithPassword

Defined in:

laspatule/models/user.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32, enabled : Bool, name : String, email : String, password : String | Nil, reinit_token : String | Nil = nil, reinit_at : Time | Nil = nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(id _id = @id, enabled _enabled = @enabled, name _name = @name, email _email = @email, password _password = @password, reinit_token _reinit_token = @reinit_token, reinit_at _reinit_at = @reinit_at) #

[View source]
def email : String #

def enabled : Bool #

def id : Int32 #

def name : String #

def password : String | Nil #

def reinit_at : Time | Nil #

def reinit_token : String | Nil #