Class: Hanami::Model::Plugins::WrappingInput Private

Inherits:
Object
  • Object
show all
Defined in:
lib/hanami/model/plugins.rb

Overview

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

Wrapping input

Since:

  • 0.7.0

Instance Method Summary collapse

Constructor Details

#initialize(_relation, input) ⇒ WrappingInput

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.

Returns a new instance of WrappingInput.

Since:

  • 0.7.0


15
16
17
# File 'lib/hanami/model/plugins.rb', line 15

def initialize(_relation, input)
  @input = input || Hash
end