Class: Eventsimple::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Eventsimple::Engine
- Defined in:
- lib/eventsimple/engine.rb
Instance Method Summary collapse
Instance Method Details
#verify_dispatchers! ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/eventsimple/engine.rb', line 44 def verify_dispatchers! unless Eventsimple.configuration.dispatchers.all? { |dispatcher| dispatcher < Eventsimple::Dispatcher } raise ArgumentError, 'dispatchers must inherit from Eventsimple::Dispatcher' end end |