Module: Hanami::Extensions::Operation

Defined in:
lib/hanami/extensions/operation.rb

Overview

Integrated behavior for ‘Dry::Operation` classes within Hanami apps.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(operation_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.

Since:

  • 2.2.0



17
18
19
20
21
22
# File 'lib/hanami/extensions/operation.rb', line 17

def self.included(operation_class)
  super

  operation_class.extend(Hanami::SliceConfigurable)
  operation_class.extend(ClassMethods)
end