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 | Nothing = Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.new(email : String | Nothing = 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 | Nothing = 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
def self.new(params : Avram::Paramable, email : String | Nothing = Nothing.new)
#
This is called at the end so @type will be of the subclass, and not the parent abstract class.
def self.new(email : String | Nothing = Nothing.new)
#
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Instance Method Detail
def set_attributes(email : String | Nothing = Nothing.new)
#
This is called at the end so @type will be of the subclass, and not the parent abstract class.