Class: Pay::UserMailer

Inherits:
Object
  • Object
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 mail_arguments
end

#payment_failedObject



31
32
33
# File 'app/mailers/pay/user_mailer.rb', line 31

def payment_failed
  mail mail_arguments
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 mail_arguments
end

#refundObject



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

def refund
  mail mail_arguments
end

#subscription_renewingObject



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

def subscription_renewing
  mail mail_arguments
end

#subscription_trial_endedObject



27
28
29
# File 'app/mailers/pay/user_mailer.rb', line 27

def subscription_trial_ended
  mail mail_arguments
end

#subscription_trial_will_endObject



23
24
25
# File 'app/mailers/pay/user_mailer.rb', line 23

def subscription_trial_will_end
  mail mail_arguments
end