Exemple #1
0
 def notify(self, event):
     email = WelcomeEmail(to=event["email"], data=event)
     current_domain.send_email(email)
Exemple #2
0
 def notify(self, domain_event):
     email = WelcomeEmail(to=domain_event.person.email,
                          data=domain_event.person.to_dict())
     current_domain.send_email(email)
Exemple #3
0
 def notify(self, domain_event):
     email = WelcomeEmail(to=domain_event["person"]["email"],
                          data=domain_event["person"])
     current_domain.send_email(email)
Exemple #4
0
 def notify(self, event):
     email = WelcomeEmail(to=event.email, data=event.to_dict())
     current_domain.send_email(email)
Exemple #5
0
 def notify(self, domain_event):
     email = WelcomeEmail(to=domain_event['person']['email'], data=domain_event['person'])
     current_domain.send_email(email)