class RequestPasswordReset
- RequestPasswordReset
- Avram::Operation
- Reference
- Object
Included Modules
Defined in:
operations/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.
Macro Summary
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)
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.
Macro Detail
Instance Method Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.