Module: Chewy::Search::Parameters::HashStorage
- Included in:
- Aggs, Highlight, ScriptFields, Suggest
- Defined in:
- lib/chewy/search/parameters/concerns/hash_storage.rb
Overview
Stores hashes with stringified keys.
Instance Method Summary collapse
-
#update!(other_value) ⇒ {String => Object}
Simply merges two value hashes on update.
Instance Method Details
#update!(other_value) ⇒ {String => Object}
Simply merges two value hashes on update
11 12 13 |
# File 'lib/chewy/search/parameters/concerns/hash_storage.rb', line 11 def update!(other_value) value.merge!(normalize(other_value)) end |