Module: ActiveOutbox::Outboxable

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_outbox/outboxable.rb

Instance Method Summary collapse

Instance Method Details

#save(**options, &block) ⇒ Object



26
27
28
29
# File 'lib/active_outbox/outboxable.rb', line 26

def save(**options, &block)
  assign_outbox_event(options)
  super(**options, &block)
end

#save!(**options, &block) ⇒ Object



31
32
33
34
# File 'lib/active_outbox/outboxable.rb', line 31

def save!(**options, &block)
  assign_outbox_event(options)
  super(**options, &block)
end