Sha256: 7f1851ece2803418592d52acb28e08e597e6a6626ce8947fc2bfb26c1fe56c11
Contents?: true
Size: 307 Bytes
Versions: 19
Compression:
Stored size: 307 Bytes
Contents
module Elastic::Results class Bucket < Aggregations attr_reader :key, :total def initialize(_key, _total, _aggs) @key = _key @total = _total super _aggs end def as_value # TODO: return aggregation value if configured as single bucket self end end end
Version data entries
19 entries across 19 versions & 1 rubygems