class SignUpUser
- SignUpUser
- User::SaveOperation
- Avram::SaveOperation(User)
- Reference
- Object
Included Modules
Defined in:
operations/sign_up_user.crConstant Summary
-
ATTRIBUTES =
[password : String, password_confirmation : String] of Nil
-
COLUMN_ATTRIBUTES =
[{name: id, type: UUID, nilable: false, autogenerated: true, value: nil}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil}, {name: email, type: String, nilable: false, autogenerated: false, value: nil}, {name: encrypted_password, type: String, nilable: false, autogenerated: false, value: nil}, {name: id, type: UUID, nilable: false, autogenerated: true, value: nil}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil}, {name: email, type: String, nilable: false, autogenerated: false, value: nil}, {name: encrypted_password, type: String, nilable: false, autogenerated: false, value: nil}] of Nil
-
FOREIGN_KEY =
"user_id"
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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!(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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.
Instance Method Summary
- #attributes
- #before_save
- #password
- #password_confirmation
-
#set_attributes(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, password : String | Nothing = Nothing.new, password_confirmation : String | Nothing = 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.
Macro Summary
Instance methods inherited from class User::SaveOperation
attributes
attributes,
before_save
before_save,
created_at
created_at,
created_at=(_value)
created_at=,
email
email,
email=(_value)
email=,
encrypted_password
encrypted_password,
encrypted_password=(_value)
encrypted_password=,
id
id,
id=(_value)
id=,
permitted_params
permitted_params,
required_attributes
required_attributes,
set_attributes(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
set_attributes,
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_id_from_param(_value)
set_id_from_param,
set_updated_at_from_param(_value)
set_updated_at_from_param,
set_uuid
set_uuid,
updated_at
updated_at,
updated_at=(_value)
updated_at=
Constructor methods inherited from class User::SaveOperation
new(record : T, params : Avram::Paramable, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)new(params : Avram::Paramable, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
new(record : T, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
new(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new) new
Class methods inherited from class User::SaveOperation
create(params, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, &)create(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, &)
create(params : Hash, **named_args, &) create, create!(params, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
create!(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
create!(params : Hash, **named_args) create!, update(record : T, with params, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, &)
update(record : T, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new, &)
update(record : T, params : Hash, **named_args, &) update, update!(record : T, with params, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
update!(record : T, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new)
update!(record : T, params : Hash, **named_args) update!
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
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