class SessionForm

Defined in:

operations/session_form.cr

Constant Summary

ATTRIBUTES = [username : String, password : String] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Instance Method Summary

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

def self.param_key #

[View source]

Instance Method Detail

def attributes #

[View source]
def password #

[View source]
def run #

[View source]
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.


def username #

[View source]

Macro Detail

macro param_key(key) #