Class: Hanami::Model::Plugins::WrappingInput Private
- Inherits:
-
Object
- Object
- Hanami::Model::Plugins::WrappingInput
- 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
Direct Known Subclasses
Mapping::InputWithMapping, Schema::InputWithSchema, Timestamps::InputWithTimestamp
Instance Method Summary collapse
-
#initialize(_relation, input) ⇒ WrappingInput
constructor
private
A new instance of WrappingInput.
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.
17 18 19 |
# File 'lib/hanami/model/plugins.rb', line 17 def initialize(_relation, input) @input = input || Hash end |