Sha256: 2396160168de5eb367c00910faece1b50c22033605cc72626b74d8db101deb0f

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

class Mailer < ActionMailer::Base
  include GhostInThePost::Mailer
  default from: 'john@example.com'

  def normal
    mail(to: 'example@example.org', subject: "Notification for you")
  end

  def multi
    mail(to: 'example@example.org', subject: "Notification for you") do |format|
      format.html
      format.text
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ghost_in_the_post-0.0.13 spec/dummy/app/mailers/mailer.rb
ghost_in_the_post-0.0.12 spec/dummy/app/mailers/mailer.rb