class EmailConfirmation::DeleteOperation

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: ip_address, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: User::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: active_at, type: Time, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: inactive_at, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: success, type: Bool, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: email, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: token_digest, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: id, type: Int64, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(record : T, params : Avram::Paramable, ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.new(record : T, ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Class Method Detail

def self.delete(record : T, params, ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, params : Hash, **named_args, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params, ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params : Hash, **named_args) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Macro Detail

macro param_key(key) #

Instance Method Detail

def active_at #

def active_at=(_value) #

def attributes #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def email #

def email=(_value) #

def id #

def id=(_value) #

def inactive_at #

def inactive_at=(_value) #

def ip_address #

def ip_address=(_value) #

def params : Avram::Paramable #

def permitted_params : Hash(String, Array(String) | String) #

def record : EmailConfirmation #

def required_attributes #

def set_active_at_from_param(_value) #

def set_attributes(ip_address : String | Avram::Nothing = IGNORE, user_id : User::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, success : Bool | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def set_email_from_param(_value) #

def set_id_from_param(_value) #

def set_inactive_at_from_param(_value) #

def set_ip_address_from_param(_value) #

def set_success_from_param(_value) #

def set_token_digest_from_param(_value) #

def set_user_id_from_param(_value) #

def success #

def success=(_value) #

def token_digest #

def token_digest=(_value) #

def user_id #

def user_id=(_value) #