Class: Effective::EventsMailer

Inherits:
Object
  • Object
show all
Includes:
EffectiveEmailTemplatesMailer, EffectiveMailer
Defined in:
app/mailers/effective/events_mailer.rb

Instance Method Summary collapse

Instance Method Details

#event_registrant_purchased(resource, opts = {}) ⇒ Object

For the notifications. No longer used.



11
12
13
14
15
16
# File 'app/mailers/effective/events_mailer.rb', line 11

def event_registrant_purchased(resource, opts = {})
  raise('expected an Effective::EventRegistrant') unless resource.kind_of?(Effective::EventRegistrant)

  @assigns = assigns_for(resource)
  mail(to: resource.email, **headers_for(resource, opts))
end