Sha256: c0e9e54099045f212459dc6628aaa50e5fef14f3c7211100a218c13dc9022f12
Contents?: true
Size: 502 Bytes
Versions: 7
Compression:
Stored size: 502 Bytes
Contents
module Pay class UserMailer < ApplicationMailer def receipt if params[:charge].respond_to? :receipt attachments[params[:charge].filename] = params[:charge].receipt end mail to: to end def refund mail to: to end def subscription_renewing mail to: to end def payment_action_required mail to: to end private def to "#{params[:pay_customer].customer_name} <#{params[:pay_customer].email}>" end end end
Version data entries
7 entries across 7 versions & 1 rubygems