Class: MailForm::EnrollShowroomProgram
- Inherits:
-
ContactForm
- Object
- ContactForm
- MailForm::EnrollShowroomProgram
- Includes:
- MailForms::Customer
- Defined in:
- app/models/mail_form/enroll_showroom_program.rb
Overview
== Schema Information
Table name: contact_forms
Database name: primary
id :integer not null, primary key
object :jsonb
type :string(50) not null
created_at :datetime
updated_at :datetime
creator_id :integer
visit_id :integer
Indexes
index_contact_forms_on_visit_id (visit_id) WHERE (visit_id IS NOT NULL) USING hash
Foreign Keys
fk_rails_... (visit_id => visits.id) ON DELETE => nullify
Instance Method Summary collapse
Instance Method Details
#email_address ⇒ Object
41 42 43 |
# File 'app/models/mail_form/enroll_showroom_program.rb', line 41 def email_address customer_email_address end |
#to ⇒ Object
45 46 47 |
# File 'app/models/mail_form/enroll_showroom_program.rb', line 45 def to "sales@warmlyyours.com" end |