Class: User::ConfirmEmailAddress
- Inherits:
-
UserPlane::Command
- Object
- Imperator::Command
- UserPlane::Command
- User::ConfirmEmailAddress
- Includes:
- ActiveModel::Validations::Callbacks
- Defined in:
- app/models/user/confirm_email_address.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#identity ⇒ Object
Returns the value of attribute identity.
-
#verification ⇒ Object
Returns the value of attribute verification.
Instance Method Summary collapse
Methods inherited from UserPlane::Command
#perform, #perform!, #perform_validations
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
7 8 9 |
# File 'app/models/user/confirm_email_address.rb', line 7 def code @code end |
#identity ⇒ Object
Returns the value of attribute identity.
6 7 8 |
# File 'app/models/user/confirm_email_address.rb', line 6 def identity @identity end |
#verification ⇒ Object
Returns the value of attribute verification.
5 6 7 |
# File 'app/models/user/confirm_email_address.rb', line 5 def verification @verification end |
Instance Method Details
#persisted? ⇒ Boolean
22 23 24 |
# File 'app/models/user/confirm_email_address.rb', line 22 def persisted? verification && verification.persisted? end |
#to_param ⇒ Object
18 19 20 |
# File 'app/models/user/confirm_email_address.rb', line 18 def to_param self.code end |