Sha256: 7b19074657d4f4fec85bf0d791aca9f93d2fe8ef4b07ebbb472982a221c718ce

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

module BootstrapFeedbacker
  class FeedbackMailer < ActionMailer::Base
    def feedback(remark)
      @remark = remark
      mail(
        to:         BootstrapFeedbacker::SETTINGS.email_to,
        from:       BootstrapFeedbacker::SETTINGS.email_to,
        reply_to:   remark.user.email,
        subject:    "#{BootstrapFeedbacker::SETTINGS.email_prefix} Feedback Notification"
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap_feedbacker-0.6.0 app/mailers/bootstrap_feedbacker/feedback_mailer.rb
bootstrap_feedbacker-0.5.0 app/mailers/bootstrap_feedbacker/feedback_mailer.rb