From a987b8f8f89be278f07a7575c3ee7afac21cd208 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 17 Feb 2021 16:55:37 -0600 Subject: [PATCH] Add event listeners for supporter.* --- app/listeners/object_event_listener.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/listeners/object_event_listener.rb b/app/listeners/object_event_listener.rb index adcdce84..b2c7c1dd 100644 --- a/app/listeners/object_event_listener.rb +++ b/app/listeners/object_event_listener.rb @@ -87,6 +87,18 @@ class ObjectEventListener < ApplicationListener enqueue_transmissions_to_webhooks(event) end + def self.supporter_created(event) + enqueue_transmissions_to_webhooks(event) + end + + def self.supporter_deleted(event) + enqueue_transmissions_to_webhooks(event) + end + + def self.supporter_updated(event) + enqueue_transmissions_to_webhooks(event) + end + def self.supporter_address_created(event) enqueue_transmissions_to_webhooks(event) end