class User
- User
- Reference
- Object
Included Modules
- DB::Mappable
- DB::Serializable
Defined in:
models/user.crConstructors
Class Method Summary
- .create_superuser(email : String, password : String)
- .create_user(email : String, password : String)
- .find_by_email(email : String) : User | Nil
- .from_rs(rs : DB::ResultSet)
Instance Method Summary
- #created_at : Time
- #email : String
- #email=(email : String)
- #id : Int32
- #id=(id : Int32)
- #is_admin : Bool
- #password_hash : String
- #updated_at : Time
- #updated_at=(updated_at : Time)