Module: Hanami::Model::Plugins::Schema Private

Defined in:
lib/hanami/model/plugins/schema.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 input values into database specific types (primitives).

Since:

  • 0.7.0

Defined Under Namespace

Modules: ClassMethods Classes: InputWithSchema

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


47
48
49
50
51
# File 'lib/hanami/model/plugins/schema.rb', line 47

def self.included(klass)
  super

  klass.extend ClassMethods
end