Sha256: 7ffc09b97d7ba7b581645188cdd930f398cb264afadf730b32c202ddde5df0d4

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

class EOTS::Mailer < ActionMailer::Base
  def email(msg)
    mail(from: msg.from,
         to: msg.to,
         cc: msg.cc,
         bcc: msg.bcc,
         reply_to: msg.reply_to,
         subject: msg.values[:subject],
         body: msg.body)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eots-0.0.4 app/mailers/eots/mailer.rb
eots-0.0.3 app/mailers/eots/mailer.rb
eots-0.0.2 app/mailers/eots/mailer.rb
eots-0.0.1 app/mailers/eots/mailer.rb