Class: MetadataPresenter::EmailConfirmation
- Inherits:
-
Object
- Object
- MetadataPresenter::EmailConfirmation
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/metadata_presenter/email_confirmation.rb
Instance Attribute Summary collapse
-
#email_confirmation ⇒ Object
Returns the value of attribute email_confirmation.
Instance Method Summary collapse
-
#initialize(email) ⇒ EmailConfirmation
constructor
A new instance of EmailConfirmation.
Constructor Details
#initialize(email) ⇒ EmailConfirmation
Returns a new instance of EmailConfirmation.
9 10 11 |
# File 'app/models/metadata_presenter/email_confirmation.rb', line 9 def initialize(email) self.email_confirmation = email end |
Instance Attribute Details
#email_confirmation ⇒ Object
Returns the value of attribute email_confirmation.
5 6 7 |
# File 'app/models/metadata_presenter/email_confirmation.rb', line 5 def email_confirmation @email_confirmation end |