Class: ActiveSupport::Notifications::Fanout::Subscribers::AllMessages
- Defined in:
- lib/active_support/notifications/fanout.rb
Overview
:nodoc:
Instance Method Summary collapse
- #finish(name, id, payload) ⇒ Object
-
#initialize(delegate) ⇒ AllMessages
constructor
A new instance of AllMessages.
- #publish(name, *args) ⇒ Object
- #start(name, id, payload) ⇒ Object
- #subscribed_to?(name) ⇒ Boolean
Constructor Details
#initialize(delegate) ⇒ AllMessages
Returns a new instance of AllMessages.
134 135 136 |
# File 'lib/active_support/notifications/fanout.rb', line 134 def initialize(delegate) @delegate = delegate end |
Instance Method Details
#finish(name, id, payload) ⇒ Object
142 143 144 |
# File 'lib/active_support/notifications/fanout.rb', line 142 def finish(name, id, payload) @delegate.finish name, id, payload end |
#publish(name, *args) ⇒ Object
146 147 148 |
# File 'lib/active_support/notifications/fanout.rb', line 146 def publish(name, *args) @delegate.publish name, *args end |
#start(name, id, payload) ⇒ Object
138 139 140 |
# File 'lib/active_support/notifications/fanout.rb', line 138 def start(name, id, payload) @delegate.start name, id, payload end |
#subscribed_to?(name) ⇒ Boolean
150 151 152 |
# File 'lib/active_support/notifications/fanout.rb', line 150 def subscribed_to?(name) true end |