Module: CommonwealthVlrEngine::Notifier
- Extended by:
- ActiveSupport::Concern
- Included in:
- Notifier
- Defined in:
- lib/commonwealth-vlr-engine/notifier.rb
Instance Method Summary collapse
Instance Method Details
#feedback(details) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/commonwealth-vlr-engine/notifier.rb', line 5 def feedback(details) @message = details[:message] @topic = details[:topic] @email = details[:email] @name = details[:name] @recipient = route_email(details[:topic]) mail(:to => @recipient, :from => t('blacklight.email.record_mailer.name') + ' <' + t('blacklight.email.record_mailer.email') + '>', :subject => t('blacklight.feedback.text.subject', identifier: Time.now.strftime('%s'))) end |