Sha256: 8845916591454ef1159322451716aecf914f154ec68ccef0faecbb7e59d265c6
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
class ProducerMailer < ActionMailer::Base default :from => ARTFULLY_CONFIG[:contact_email] layout "mail" def donation_kit_notification(kit, producer) @kit = kit @organization = kit.organization @producer = producer mail :to => producer.email, :subject => "Artful.ly: Complete Donation Kit Activation for #{@organization.name}" end def ticket_offer_accepted(ticket_offer) @ticket_offer = ticket_offer @organization = ticket_offer.organization @producer = @organization.owner @reseller_profile = ticket_offer.reseller_profile @reseller = @reseller_profile.organization @event = @ticket_offer.event @show = @ticket_offer.show @section = @ticket_offer.section mail :to => @producer.email, :subject => "Artful.ly: Ticket Offer Accepted" end def ticket_offer_rejected(ticket_offer) @ticket_offer = ticket_offer @organization = ticket_offer.organization @producer = @organization.owner @reseller_profile = ticket_offer.reseller_profile @reseller = @reseller_profile.organization @event = @ticket_offer.event @show = @ticket_offer.show @section = @ticket_offer.section mail :to => @producer.email, :subject => "Artful.ly: Ticket Offer Rejected" end def mailchimp_kit_initial_sync_notification(kit, producer, list_name) @kit = kit @list_name = list_name @organization = kit.organization mail :to => producer.email, :subject => "Artful.ly: MailChimp kit synced" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
artfully_ose-1.1.0.rc1 | app/mailers/producer_mailer.rb |