Sha256: 443044d0985b4d19f74e6ef0f27abe77da50f53c20e9e9c5269c2899cc954b89

Contents?: true

Size: 233 Bytes

Versions: 8

Compression:

Stored size: 233 Bytes

Contents

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

  def welcome
    mail
  end

  def invitation(email)
    mail
  end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
maily-0.6.0 spec/dummy/app/mailers/notifier.rb
maily-0.5.0 spec/dummy/app/mailers/notifier.rb
maily-0.4.0 spec/dummy/app/mailers/notifier.rb
maily-0.3.5 spec/dummy/app/mailers/notifier.rb
maily-0.3.4 spec/dummy/app/mailers/notifier.rb
maily-0.3.3 spec/dummy/app/mailers/notifier.rb
maily-0.3.2 spec/dummy/app/mailers/notifier.rb
maily-0.3.1 spec/dummy/app/mailers/notifier.rb