Sha256: 5286b193d31cd28c38e529beffc5aec3c5655f90dc48efcc8970098fb2e96b8b
Contents?: true
Size: 340 Bytes
Versions: 2
Compression:
Stored size: 340 Bytes
Contents
module Tang class SubscriptionMailer < ApplicationMailer helper Tang::ApplicationHelper default from: Tang.admin_email def upgraded(subscription) @subscription = subscription mail(to: @subscription.customer.email, subject: "Oh, wow! Excited to have you on our #{@subscription.plan.name} plan!") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tang-0.2.2 | app/mailers/tang/subscription_mailer.rb |
tang-0.2.1 | app/mailers/tang/subscription_mailer.rb |