Class: MailForm::ProductSample

Inherits:
ContactForm
  • Object
show all
Includes:
MailForms::Customer
Defined in:
app/models/mail_form/product_sample.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

#toObject



46
47
48
# File 'app/models/mail_form/product_sample.rb', line 46

def to
  'sales@warmlyyours.com'
end