Class: MailForm::WarrantyTowelWarmer
- Inherits:
-
ContactForm
- Object
- ContactForm
- MailForm::WarrantyTowelWarmer
- Includes:
- MailForms::Homeowner, MailForms::Installer1, MailForms::Installer2
- Defined in:
- app/models/mail_form/warranty_towel_warmer.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
- .control_type ⇒ Object
- .experience_customer_support ⇒ Object
- .experience_information_provided ⇒ Object
- .experience_installation ⇒ Object
- .experience_shipping ⇒ Object
- .installation_type ⇒ Object
- .installer_type ⇒ Object
- .purchase_source ⇒ Object
Instance Method Summary collapse
Class Method Details
.control_type ⇒ Object
154 155 156 157 158 159 160 161 162 163 164 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 154 def self.control_type [ "Hardwired 4-Setting Countdown Timer (GK16-30090-0006)", "Hardwired Programmable Timer (GK16-30090-0002)", "Hardwired WiFi Switch (GK16-30090-0003)", "Plug-in 6-Setting Countdown Timer with Repeat Function (GK17-30090-0001)", "Plug-in WiFi Switch (GK16-30090-0004/GK16-30090-0005)", "Wi-Fi Wemo Light Switch (CO-WM-SW-F7C030)", "Other" ] end |
.experience_customer_support ⇒ Object
78 79 80 81 82 83 84 85 86 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 78 def self.experience_customer_support [ "5 - Excellent", "4", "3 - Average", "2", "1 - Unsatisfactory" ] end |
.experience_information_provided ⇒ Object
88 89 90 91 92 93 94 95 96 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 88 def self.experience_information_provided [ "5 - Excellent", "4", "3 - Average", "2", "1 - Unsatisfactory" ] end |
.experience_installation ⇒ Object
108 109 110 111 112 113 114 115 116 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 108 def self.experience_installation [ "5 - Excellent", "4", "3 - Average", "2", "1 - Unsatisfactory" ] end |
.experience_shipping ⇒ Object
98 99 100 101 102 103 104 105 106 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 98 def self.experience_shipping [ "5 - Excellent", "4", "3 - Average", "2", "1 - Unsatisfactory" ] end |
.installation_type ⇒ Object
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 118 def self.installation_type [ "Infinity", "Riviera", "Sierra", "Barcelona", "Elements", "Metropolitan", "Studio", "Huron", "Tahoe 6", "Tahoe 7", "Tahoe 8", "Tahoe 10", "Vida", "Ontario XL", "Grande 10", "Grande 12", "Maui", "Sydney", "Summit", "Malta", "Palma", "Ibiza", "Vancouver", "London", "Paris", "Milan", "Maple", "Bellagio ", "Rome", "Venice", "Other" ] end |
.installer_type ⇒ Object
177 178 179 180 181 182 183 184 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 177 def self.installer_type [ "Floor Installer", "Contract/Builder", "Electrician", "Other" ] end |
.purchase_source ⇒ Object
166 167 168 169 170 171 172 173 174 175 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 166 def self.purchase_source [ "WarmlyYours", "Amazon", "Costco", "Home Depot", "Lowe's", "Other" ] end |
Instance Method Details
#email_address ⇒ Object
186 187 188 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 186 def email_address homeowner_email_address end |
#to ⇒ Object
190 191 192 |
# File 'app/models/mail_form/warranty_towel_warmer.rb', line 190 def to "info@warmlyyours.com" end |