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-1.5.8 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.7 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.6 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.5 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.4 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.3 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.2 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.1 app/mailers/agilibox/generic_mailer.rb
agilibox-1.5.0 app/mailers/agilibox/generic_mailer.rb
agilibox-1.4.4 app/mailers/agilibox/generic_mailer.rb
agilibox-1.4.3 app/mailers/agilibox/generic_mailer.rb
agilibox-1.4.2 app/mailers/agilibox/generic_mailer.rb
agilibox-1.4.1 app/mailers/agilibox/generic_mailer.rb
agilibox-1.4.0 app/mailers/agilibox/generic_mailer.rb