class Avocado::Mailer

Public Instance Methods

email_affirmation() click to toggle source
# File lib/avocado/mailer.rb, line 8
def email_affirmation
  mail
end
email_verification() click to toggle source
# File lib/avocado/mailer.rb, line 12
def email_verification
  mail
end
password_reset() click to toggle source
# File lib/avocado/mailer.rb, line 16
def password_reset
  mail
end

Private Instance Methods

set_signed_id() click to toggle source
# File lib/avocado/mailer.rb, line 26
def set_signed_id
  @signed_id = @user.generate_token_for(action_name.to_sym)
end
set_user() click to toggle source
# File lib/avocado/mailer.rb, line 22
def set_user
  @user = params[:user]
end