Sha256: 4ace2b6806e9fe602a70fbea0931c04769267c5e64a1460dfd72c3d061bd4c5c
Contents?: true
Size: 1.56 KB
Versions: 28
Compression:
Stored size: 1.56 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 @ticket_type = @ticket_offer.ticket_type 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 @ticket_type = @ticket_offer.ticket_type mail :to => @producer.email, :subject => "Artful.ly: Ticket Offer Rejected" end def mailchimp_kit_initial_sync_notification(kit, producer, added_list_names, removed_list_names) @kit = kit @added_list_names = added_list_names @removed_list_names = removed_list_names @organization = kit.organization mail :to => producer.email, :subject => "Artful.ly: MailChimp kit synced" end end
Version data entries
28 entries across 28 versions & 1 rubygems