Module: Horizon::Publisher

Extended by:
ActiveSupport::Concern
Defined in:
lib/horizon/publisher.rb

Instance Method Summary collapse

Instance Method Details

#publish(event, *args) ⇒ Object



8
9
10
# File 'lib/horizon/publisher.rb', line 8

def publish(event, *args)
  Horizon::Context.current.publish event, *args
end