Sha256: 415ee031a33337f38c89a1baf1a825a1fd4c2b28be23891cebc4702852bf9258

Contents?: true

Size: 221 Bytes

Versions: 54

Compression:

Stored size: 221 Bytes

Contents

class Agilibox::GenericMailer < Agilibox::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

54 entries across 54 versions & 1 rubygems

Version Path
agilibox-2.0.0 app/mailers/agilibox/generic_mailer.rb
agilibox-1.11.0 app/mailers/agilibox/generic_mailer.rb
agilibox-1.10.5 app/mailers/agilibox/generic_mailer.rb
agilibox-1.10.2 app/mailers/agilibox/generic_mailer.rb
agilibox-1.10.1 app/mailers/agilibox/generic_mailer.rb
agilibox-1.10.0 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.20 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.19 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.18 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.17 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.16 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.15 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.14 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.13 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.12 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.11 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.10 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.9 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.8 app/mailers/agilibox/generic_mailer.rb
agilibox-1.9.7 app/mailers/agilibox/generic_mailer.rb