Class: MetadataPresenter::EmailConfirmation

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/metadata_presenter/email_confirmation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_confirmationObject

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