Class: ContactForm::Form
- Inherits:
-
Object
- Object
- ContactForm::Form
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/contact_form/form.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'app/models/contact_form/form.rb', line 6 def email @email end |
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'app/models/contact_form/form.rb', line 6 def @message end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'app/models/contact_form/form.rb', line 6 def name @name end |