Class: OpenSearch::DSL::Search::AggregationsCollection
- Inherits:
-
Hash
- Object
- Hash
- OpenSearch::DSL::Search::AggregationsCollection
- Defined in:
- lib/opensearch/dsl/search/aggregation.rb
Instance Method Summary collapse
-
#to_hash ⇒ Object
rubocop:disable Naming/MemoizedInstanceVariableName.
Instance Method Details
#to_hash ⇒ Object
rubocop:disable Naming/MemoizedInstanceVariableName
36 37 38 |
# File 'lib/opensearch/dsl/search/aggregation.rb', line 36 def to_hash @hash ||= transform_values(&:to_hash) end |