Module: ActiveEncode::Callbacks

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_encode/callbacks.rb

Overview

Active Encode Callbacks

Active Encode provides hooks during the life cycle of an encode. Callbacks allow you to trigger logic during the life cycle of an encode. Available callbacks are:

  • after_find

  • after_reload

  • before_create

  • around_create

  • after_create

  • before_cancel

  • around_cancel

  • after_cancel

Constant Summary collapse

CALLBACKS =
[
  :after_find, :after_reload, :before_create, :around_create,
  :after_create, :before_cancel, :around_cancel, :after_cancel
].freeze