class ConfirmSignUp
- ConfirmSignUp
- User::SaveOperation
- Avram::SaveOperation(User)
- Reference
- Object
Defined in:
operations/confirm_sign_up.crConstant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: confirmed_at, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: confirmation_token, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: email, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: first_name, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: last_name, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: encrypted_password, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: confirmed_at, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: confirmation_token, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: email, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: first_name, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: last_name, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: encrypted_password, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}] of Nil
-
FOREIGN_KEY =
"user_id"
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(params : Avram::Paramable, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(record : T, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
Class Method Summary
-
.create(params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create(params : Hash, **named_args, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(params : Hash, **named_args)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
- .param_key
-
.update(record : T, with params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update(record : T, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update(record : T, params : Hash, **named_args, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, with params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, params : Hash, **named_args)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
Macro Summary
Instance Method Summary
- #confirmed_at
-
#set_attributes(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
Instance methods inherited from class User::SaveOperation
attributes
attributes,
confirmation_token
confirmation_token,
confirmation_token=(_value)
confirmation_token=,
confirmed_at
confirmed_at,
confirmed_at=(_value)
confirmed_at=,
created_at
created_at,
created_at=(_value)
created_at=,
email
email,
email=(_value)
email=,
encrypted_password
encrypted_password,
encrypted_password=(_value)
encrypted_password=,
first_name
first_name,
first_name=(_value)
first_name=,
id
id,
id=(_value)
id=,
last_name
last_name,
last_name=(_value)
last_name=,
permitted_params
permitted_params,
required_attributes
required_attributes,
set_attributes(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
set_attributes,
set_confirmation_token_from_param(_value)
set_confirmation_token_from_param,
set_confirmed_at_from_param(_value)
set_confirmed_at_from_param,
set_created_at_from_param(_value)
set_created_at_from_param,
set_email_from_param(_value)
set_email_from_param,
set_encrypted_password_from_param(_value)
set_encrypted_password_from_param,
set_first_name_from_param(_value)
set_first_name_from_param,
set_id_from_param(_value)
set_id_from_param,
set_last_name_from_param(_value)
set_last_name_from_param,
set_updated_at_from_param(_value)
set_updated_at_from_param,
updated_at
updated_at,
updated_at=(_value)
updated_at=
Constructor methods inherited from class User::SaveOperation
new(record : T, params : Avram::Paramable, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)new(params : Avram::Paramable, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
new(record : T, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
new(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new) new
Class methods inherited from class User::SaveOperation
create(params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)create(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
create(params : Hash, **named_args, &) create, create!(params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
create!(confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
create!(params : Hash, **named_args) create!, update(record : T, with params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
update(record : T, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new, &)
update(record : T, params : Hash, **named_args, &) update, update!(record : T, with params, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
update!(record : T, confirmed_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, confirmation_token : String | Avram::Nothing = Avram::Nothing.new, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, first_name : String | Avram::Nothing | Nil = Avram::Nothing.new, last_name : String | Avram::Nothing | Nil = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new)
update!(record : T, params : Hash, **named_args) update!
Macros inherited from class User::SaveOperation
param_key(key)
param_key
Constructor Detail
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
Class Method Detail
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
Macro Detail
Instance Method Detail
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation