Class: MailForm::EnrollNameYourOwn
- Inherits:
-
ContactForm
- Object
- ContactForm
- MailForm::EnrollNameYourOwn
- Defined in:
- app/models/mail_form/enroll_name_your_own.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
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.promotion_select ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'app/models/mail_form/enroll_name_your_own.rb', line 56 def self.promotion_select [ "20% off TempZone™ (under tile, stone or hardwood)", "20% off Environ™ (under laminate or floating wood floors)", "20% off slab heat", "20% off towel warmers (includes WeMo® Switch bundles)", "20% off Ember® radiant panels", "20% off snow-melting systems", "20% off roof and gutter deicing systems", "All of the above" ] end |
Instance Method Details
#to ⇒ Object
69 70 71 |
# File 'app/models/mail_form/enroll_name_your_own.rb', line 69 def to "sales@warmlyyours.com" end |