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



28
29
30
31
# File 'lib/active_outbox/outboxable.rb', line 28

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

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



33
34
35
36
# File 'lib/active_outbox/outboxable.rb', line 33

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