Sha256: e525a9eec2ce9e02ff630b4a3442911caa0527cb1a3fdbb1a0e2fc67758d2a22

Contents?: true

Size: 354 Bytes

Versions: 18

Compression:

Stored size: 354 Bytes

Contents

class AutoMailer < ActionMailer::Base
  include Roadie::Rails::Automatic

  default from: 'john@example.com'

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

  private
  def roadie_options
    super.combine(url_options: {protocol: "https"})
  end
end

Version data entries

18 entries across 3 versions & 1 rubygems

Version Path
roadie-rails-1.0.1 spec/railsapps/rails_41/app/mailers/auto_mailer.rb
roadie-rails-1.0.1 spec/railsapps/rails_40_no_pipeline/app/mailers/auto_mailer.rb
roadie-rails-1.0.1 spec/railsapps/rails_40/app/mailers/auto_mailer.rb
roadie-rails-1.0.1 spec/railsapps/rails_32/app/mailers/auto_mailer.rb
roadie-rails-1.0.1 spec/railsapps/rails_31/app/mailers/auto_mailer.rb
roadie-rails-1.0.1 spec/railsapps/rails_30/app/mailers/auto_mailer.rb
roadie-rails-1.0.0 spec/railsapps/rails_30/app/mailers/auto_mailer.rb
roadie-rails-1.0.0 spec/railsapps/rails_31/app/mailers/auto_mailer.rb
roadie-rails-1.0.0 spec/railsapps/rails_32/app/mailers/auto_mailer.rb
roadie-rails-1.0.0 spec/railsapps/rails_40/app/mailers/auto_mailer.rb
roadie-rails-1.0.0 spec/railsapps/rails_40_no_pipeline/app/mailers/auto_mailer.rb
roadie-rails-1.0.0 spec/railsapps/rails_41/app/mailers/auto_mailer.rb
roadie-rails-1.0.0.pre1 spec/railsapps/rails_41/app/mailers/auto_mailer.rb
roadie-rails-1.0.0.pre1 spec/railsapps/rails_40_no_pipeline/app/mailers/auto_mailer.rb
roadie-rails-1.0.0.pre1 spec/railsapps/rails_40/app/mailers/auto_mailer.rb
roadie-rails-1.0.0.pre1 spec/railsapps/rails_32/app/mailers/auto_mailer.rb
roadie-rails-1.0.0.pre1 spec/railsapps/rails_31/app/mailers/auto_mailer.rb
roadie-rails-1.0.0.pre1 spec/railsapps/rails_30/app/mailers/auto_mailer.rb