Sha256: f4701073da09b3e486bfcb602e56c73f6e811a9d90c4d658c9328c69cca82685
Contents?: true
Size: 728 Bytes
Versions: 28
Compression:
Stored size: 728 Bytes
Contents
module Pay class UserMailer < Pay.parent_mailer.constantize def receipt if params[:pay_charge].respond_to? :receipt attachments[params[:pay_charge].filename] = params[:pay_charge].receipt end mail mail_arguments end def refund mail mail_arguments end def subscription_renewing mail mail_arguments end def payment_action_required mail mail_arguments end def subscription_trial_will_end mail mail_arguments end def subscription_trial_ended mail mail_arguments end def payment_failed mail mail_arguments end private def mail_arguments instance_exec(&Pay.mail_arguments) end end end
Version data entries
28 entries across 28 versions & 1 rubygems