Sha256: 85210258d7e8dc818372a9c3d9f932a77bc0c9880faed54be7935a7e07da7003

Contents?: true

Size: 211 Bytes

Versions: 19

Compression:

Stored size: 211 Bytes

Contents

class BMC::GenericMailer < BMC::ApplicationMailer
  def generic_email(data)
    data.delete(:attachments).to_h.each do |filename, content|
      attachments[filename] = content
    end

    mail(data)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
bmc-1.6.1 app/mailers/bmc/generic_mailer.rb
bmc-1.6.0 app/mailers/bmc/generic_mailer.rb
bmc-1.5.1 app/mailers/bmc/generic_mailer.rb
bmc-1.5.0 app/mailers/bmc/generic_mailer.rb
bmc-1.4.3 app/mailers/bmc/generic_mailer.rb
bmc-1.4.2 app/mailers/bmc/generic_mailer.rb
bmc-1.4.1 app/mailers/bmc/generic_mailer.rb
bmc-1.4.0 app/mailers/bmc/generic_mailer.rb
bmc-1.3.5 app/mailers/bmc/generic_mailer.rb
bmc-1.3.4 app/mailers/bmc/generic_mailer.rb
bmc-1.3.3 app/mailers/bmc/generic_mailer.rb
bmc-1.3.2 app/mailers/bmc/generic_mailer.rb
bmc-1.3.1 app/mailers/bmc/generic_mailer.rb
bmc-1.3.0 app/mailers/bmc/generic_mailer.rb
bmc-1.2.1 app/mailers/bmc/generic_mailer.rb
bmc-1.2.0 app/mailers/bmc/generic_mailer.rb
bmc-1.1.0 app/mailers/bmc/generic_mailer.rb
bmc-1.0.1 app/mailers/bmc/generic_mailer.rb
bmc-1.0.0 app/mailers/bmc/generic_mailer.rb