Class: Spotlight::ContactForm

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/spotlight/contact_form.rb

Overview

Exhibit feedback form

Instance Method Summary collapse

Instance Method Details

#headersObject



20
21
22
23
24
25
26
# File 'app/models/spotlight/contact_form.rb', line 20

def headers
  {
    to: to,
    subject: I18n.t(:'spotlight.contact_form.subject', application_name: application_name),
    cc: contact_emails.join(', ')
  }
end