class SessionForm
- SessionForm
- Avram::Operation
- Reference
- Object
Defined in:
operations/session_form.crConstant Summary
-
ATTRIBUTES =
[username : String, password : String] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(params : Avram::Paramable, username : String | Avram::Nothing = Avram::Nothing.new, password : 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(username : String | Avram::Nothing = Avram::Nothing.new, password : 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.
Class Method Summary
Instance Method Summary
- #attributes
- #password
- #run
-
#set_attributes(username : String | Avram::Nothing = Avram::Nothing.new, password : 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.
- #username
Macro Summary
Constructor Detail
def self.new(params : Avram::Paramable, username : String | Avram::Nothing = Avram::Nothing.new, password : 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.
def self.new(username : String | Avram::Nothing = Avram::Nothing.new, password : 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.
Class Method Detail
Instance Method Detail
def set_attributes(username : String | Avram::Nothing = Avram::Nothing.new, password : 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.