Module: Hanami::Model::Plugins::Mapping Private

Defined in:
lib/hanami/model/plugins/mapping.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Transform output into model domain types (entities).

Since:

  • 0.7.0

Defined Under Namespace

Modules: ClassMethods Classes: InputWithMapping

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ 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:

  • 0.7.0



49
50
51
52
53
# File 'lib/hanami/model/plugins/mapping.rb', line 49

def self.included(klass)
  super

  klass.extend ClassMethods
end