class RequestPasswordReset
- RequestPasswordReset
- Avram::Operation
- Reference
- Object
Included Modules
Defined in:
operations/user_request_password_reset.crConstant Summary
-
ATTRIBUTES =
[email : String] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(params : Avram::Paramable, email : String | Avram::Nothing = Avram::Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.new(email : String | Avram::Nothing = Avram::Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Instance Method Summary
- #attributes
-
#run
Run validations and yield the operation and the user if valid
-
#set_attributes(email : String | Avram::Nothing = Avram::Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
- #validate(user : User | Nil)
Macro Summary
Constructor Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Instance Method Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.