Class: Cased::Publishers::ActiveSupportPublisher

Inherits:
Base
  • Object
show all
Defined in:
lib/cased/publishers/active_support_publisher.rb

Instance Method Summary collapse

Methods inherited from Base

#==

Instance Method Details

#publish(event) ⇒ Object



17
18
19
# File 'lib/cased/publishers/active_support_publisher.rb', line 17

def publish(event)
  ::ActiveSupport::Notifications.instrument('event.cased', event: event)
end