Module: Hanami::Extensions::Action
- Defined in:
- lib/hanami/extensions/action.rb,
lib/hanami/extensions/action/slice_configured_action.rb
Overview
Integrated behavior for ‘Hanami::Action` classes within Hanami apps.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: SliceConfiguredAction
Class Method Summary collapse
- .included(action_class) ⇒ Object private
Class Method Details
.included(action_class) ⇒ 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.
17 18 19 20 21 22 23 |
# File 'lib/hanami/extensions/action.rb', line 17 def self.included(action_class) super action_class.extend(Hanami::SliceConfigurable) action_class.extend(ClassMethods) action_class.prepend(InstanceMethods) end |