Sha256: 1c921459c24af168d910a8eac6d5748a86c3ef90fdca5cb717adb70453671591

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

class Notifier < ActionMailer::Base
  default from: 'foo@foo.com', to: 'bar@bar.com'

  def welcome
    mail
  end

  def invitation(email, opt_arg = nil)
    mail
  end

  def recommendation(email)
    mail template_path: 'notifications'
  end

  def custom_template_name
    mail template_name: 'invitation'
  end

  def hidden
    mail
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maily-0.7.1 spec/dummy/app/mailers/notifier.rb
maily-0.7.0 spec/dummy/app/mailers/notifier.rb