Class: ContactForm::Form

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

Instance Attribute Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email.



6
7
8
# File 'app/models/contact_form/form.rb', line 6

def email
  @email
end

#messageObject

Returns the value of attribute message.



6
7
8
# File 'app/models/contact_form/form.rb', line 6

def message
  @message
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'app/models/contact_form/form.rb', line 6

def name
  @name
end