class User
- User
- Granite::Base
- Reference
- Object
Included Modules
- Crypto
- JSON::Serializable
- YAML::Serializable
Defined in:
models/user.cr:3models/user.cr:6
Constructors
Instance Method Summary
- #authenticate(password : String)
- #email : String
- #email=(email : String)
- #hashed_password : String
- #hashed_password=(hashed_password : String)
- #id : Int64 | Nil
- #id! : Int64
- #id=(id : Int64 | Nil)
- #name : String
- #name=(name : String)
- #password
- #password=(password : Nil | String)
- #password_changed?
- #phone : String
- #phone=(phone : String)
- #valid_password_size?