Sha256: 14f9e83e5f8aa23d31ad8bde27787c7deb35d9e141ecc9c873f245e05a455feb

Contents?: true

Size: 675 Bytes

Versions: 22

Compression:

Stored size: 675 Bytes

Contents

class ClearanceMailer < ActionMailer::Base

  def change_password(user)
    from       Clearance.configuration.mailer_sender
    recipients user.email
    subject    I18n.t(:change_password,
                      :scope   => [:clearance, :models, :clearance_mailer],
                      :default => "Change your password")
    body       :user => user
  end

  def confirmation(user)
    from       Clearance.configuration.mailer_sender
    recipients user.email
    subject    I18n.t(:confirmation,
                      :scope   => [:clearance, :models, :clearance_mailer],
                      :default => "Account confirmation")
    body      :user => user
  end

end

Version data entries

22 entries across 22 versions & 5 rubygems

Version Path
fbdoorman-0.7.3 app/models/clearance_mailer.rb
fbdoorman-0.7.2 app/models/clearance_mailer.rb
fbdoorman-0.7.1 app/models/clearance_mailer.rb
fbdoorman-0.7.0 app/models/clearance_mailer.rb
janova-clearance-0.8.8 app/models/clearance_mailer.rb
fbdoorman-0.1.0 app/models/clearance_mailer.rb
fbdoorman-0.0.9 app/models/clearance_mailer.rb
fbdoorman-0.0.8 app/models/clearance_mailer.rb
fbdoorman-0.0.7 app/models/clearance_mailer.rb
fbdoorman-0.0.6 app/models/clearance_mailer.rb
fbdoorman-0.0.5 app/models/clearance_mailer.rb
fbdoorman-0.0.4 app/models/clearance_mailer.rb
fbdoorman-0.0.3 app/models/clearance_mailer.rb
fbdoorman-0.0.2 app/models/clearance_mailer.rb
fbdoorman-0.0.1 app/models/clearance_mailer.rb
forgetful-clearance-0.8.11 app/models/clearance_mailer.rb
forgetful-clearance-0.8.10 app/models/clearance_mailer.rb
benaldred-clearance-0.8.8 app/models/clearance_mailer.rb
clearance-0.8.8 app/models/clearance_mailer.rb
clearance-0.8.7 app/models/clearance_mailer.rb