Module: Form::Static::Email
- Extended by:
- ActiveSupport::Concern
- Included in:
- Contact
- Defined in:
- app/models/form/static/email.rb
Instance Method Summary collapse
Instance Method Details
#send_from ⇒ Object
10 11 12 |
# File 'app/models/form/static/email.rb', line 10 def send_from try(:email) end |
#send_to ⇒ Object
14 15 16 |
# File 'app/models/form/static/email.rb', line 14 def send_to Setting[:cms_mail_bcc] end |
#subject ⇒ Object
6 7 8 |
# File 'app/models/form/static/email.rb', line 6 def subject I18n.t('cms.form.email.default_subject') end |
#with_email? ⇒ Boolean
18 19 20 |
# File 'app/models/form/static/email.rb', line 18 def with_email? true end |