Class: Elasticsearch::Model::Extensions::OuterDocumentUpdating::Update
- Inherits:
-
Object
- Object
- Elasticsearch::Model::Extensions::OuterDocumentUpdating::Update
- Defined in:
- lib/elasticsearch/model/extensions/outer_document_updating.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Default, ThroughPolymorphicAssociation
Instance Method Summary collapse
-
#initialize(from:, to:) ⇒ Update
constructor
A new instance of Update.
Constructor Details
#initialize(from:, to:) ⇒ Update
Returns a new instance of Update.
19 20 21 22 |
# File 'lib/elasticsearch/model/extensions/outer_document_updating.rb', line 19 def initialize(from:, to:) @parent_class = from @child_class = to end |