Class: Pay::UserMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/pay/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#payment_action_requiredObject


19
20
21
# File 'app/mailers/pay/user_mailer.rb', line 19

def payment_action_required
  mail to: to
end

#receiptObject


3
4
5
6
7
8
9
# File 'app/mailers/pay/user_mailer.rb', line 3

def receipt
  if params[:pay_charge].respond_to? :receipt
    attachments[params[:pay_charge].filename] = params[:pay_charge].receipt
  end

  mail to: to
end

#refundObject


11
12
13
# File 'app/mailers/pay/user_mailer.rb', line 11

def refund
  mail to: to
end

#subscription_renewingObject


15
16
17
# File 'app/mailers/pay/user_mailer.rb', line 15

def subscription_renewing
  mail to: to
end