Sha256: f0ef8a7a4bd6a421cd62043c4c7dd22ead22a285bacf3b1c44e5102777e3495e

Contents?: true

Size: 354 Bytes

Versions: 53

Compression:

Stored size: 354 Bytes

Contents

class Mailer < ActionMailer::Base
  include Roadie::Rails::Mailer

  default from: 'john@example.com'

  def normal_email
    roadie_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

53 entries across 13 versions & 1 rubygems

Version Path
roadie-rails-1.2.0 spec/railsapps/rails_50/app/mailers/mailer.rb
roadie-rails-1.2.0 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.2.0 spec/railsapps/rails_51/app/mailers/mailer.rb
roadie-rails-1.1.1 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.1.1 spec/railsapps/rails_50/app/mailers/mailer.rb
roadie-rails-1.1.0 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.1.0.rc2 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.1.0.rc1 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.0.6 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.0.5 spec/railsapps/shared/all/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_40_no_pipeline/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_31/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_32/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_42/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_40_precompiled/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_30/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_40/app/mailers/mailer.rb
roadie-rails-1.0.4 spec/railsapps/rails_41/app/mailers/mailer.rb
roadie-rails-1.0.3 spec/railsapps/rails_40/app/mailers/mailer.rb
roadie-rails-1.0.3 spec/railsapps/rails_40_no_pipeline/app/mailers/mailer.rb