class User
- User
- Granite::Base
- Reference
- Object
Included Modules
- Crypto
- JSON::Serializable
- YAML::Serializable
Defined in:
models/user.cr:3models/user.cr:6
Constructors
Class Method Summary
Instance Method Summary
- #authenticate(password : String)
- #billability_goal : Float64
- #billability_goal=(billability_goal : Float64)
- #created_at : Time
- #created_at=(created_at : Time)
- #email : String
- #email=(email : String)
- #first_name : String
- #first_name=(first_name : String)
- #hashed_password : String | Nil
- #hashed_password! : String
- #hashed_password=(hashed_password : String | Nil)
- #id : Int64 | Nil
- #id! : Int64
- #id=(id : Int64 | Nil)
- #is_active : Bool
- #is_active=(is_active : Bool)
- #is_admin : Bool
- #is_admin=(is_admin : Bool)
- #is_contractor : Bool
- #is_contractor=(is_contractor : Bool)
- #last_name : String
- #last_name=(last_name : String)
- #password
- #password=(password : Nil | String)
- #password_changed?
-
#set_timestamps(*, to time = Time.local(Granite.settings.default_timezone), mode = :create)
Override Granites created_at/updated_at handling.
- #updated_at : Time
- #updated_at=(updated_at : Time)
- #valid_password_size?
- #working_hours : Float64
- #working_hours=(working_hours : Float64)
Constructor Detail
Class Method Detail
Instance Method Detail
Override Granites created_at/updated_at handling.