Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
11
research/chatwoot/app/dispatchers/base_dispatcher.rb
Normal file
11
research/chatwoot/app/dispatchers/base_dispatcher.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class BaseDispatcher
|
||||
include Wisper::Publisher
|
||||
|
||||
def listeners
|
||||
[]
|
||||
end
|
||||
|
||||
def load_listeners
|
||||
listeners.each { |listener| subscribe(listener) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user