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



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

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

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



38
39
40
41
# File 'lib/active_outbox/outboxable.rb', line 38

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