Module: Hanami::Action::Callbacks
- Defined in:
- lib/idempotency/hanami/action/callbacks.rb
Overview
Before and after callbacks
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Override Ruby’s hook for modules.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Override Ruby’s hook for modules. It includes callbacks logic
27 28 29 30 31 32 |
# File 'lib/idempotency/hanami/action/callbacks.rb', line 27 def self.included(base) base.class_eval do extend ClassMethods prepend InstanceMethods end end |