Class: ActiveSupport::Notifications::Fanout::EventObjectGroup
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from BaseGroup
Constructor Details
This class inherits a constructor from ActiveSupport::Notifications::Fanout::BaseGroup
Instance Method Details
#finish(name, id, payload) ⇒ Object
      175 176 177 178 179 180 181 182  | 
    
      # File 'lib/active_support/notifications/fanout.rb', line 175 def finish(name, id, payload) @event.payload = payload @event.finish! each do |s| s.call(@event) end end  | 
  
#start(name, id, payload) ⇒ Object
      170 171 172 173  | 
    
      # File 'lib/active_support/notifications/fanout.rb', line 170 def start(name, id, payload) @event = build_event(name, id, payload) @event.start! end  |