Sha256: 76cfdde3b3a77529c77b6500387d8927e14a041805bd3219e6e0ce2da25e3190

Contents?: true

Size: 214 Bytes

Versions: 32

Compression:

Stored size: 214 Bytes

Contents

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

    mail(data)
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
dorsale-3.13.0 app/mailers/dorsale/generic_mailer.rb
dorsale-3.12.0 app/mailers/dorsale/generic_mailer.rb
dorsale-3.11.0 app/mailers/dorsale/generic_mailer.rb
dorsale-3.10.3 app/mailers/dorsale/generic_mailer.rb
dorsale-3.10.2 app/mailers/dorsale/generic_mailer.rb
dorsale-3.10.1 app/mailers/dorsale/generic_mailer.rb
dorsale-3.10.0 app/mailers/dorsale/generic_mailer.rb
dorsale-3.9.8 app/mailers/dorsale/generic_mailer.rb
dorsale-3.9.7 app/mailers/dorsale/generic_mailer.rb
dorsale-3.9.6 app/mailers/dorsale/generic_mailer.rb
dorsale-3.9.5 app/mailers/dorsale/generic_mailer.rb
dorsale-3.9.4 app/mailers/dorsale/generic_mailer.rb