Class: ActiveSupport::Notifications::Fanout::Subscribers::EventObject

Inherits:
Evented
  • Object
show all
Defined in:
lib/active_support/notifications/fanout.rb

Instance Attribute Summary

Attributes inherited from Evented

#delegate, #pattern, #silenceable

Instance Method Summary collapse

Methods inherited from Evented

#initialize, #publish, #silenced?, #subscribed_to?, #unsubscribe!

Constructor Details

This class inherits a constructor from ActiveSupport::Notifications::Fanout::Subscribers::Evented

Instance Method Details

#group_classObject



438
439
440
# File 'lib/active_support/notifications/fanout.rb', line 438

def group_class
  EventObjectGroup
end

#publish_event(event) ⇒ Object



442
443
444
# File 'lib/active_support/notifications/fanout.rb', line 442

def publish_event(event)
  @delegate.call event
end