Sha256: 11b3f4d6fa87fbd82754ac6336cc1978a4e84a8b6ac24754c5e3dc2528f28a7b
Contents?: true
Size: 428 Bytes
Versions: 14
Compression:
Stored size: 428 Bytes
Contents
module Access class Aggregations include Access::MuchMeta def self.process_batch(chunk) chunk.map { |aggs| new(aggs) } end def initialize(values) @used_fields = [] set_up_methods(values) set_values(values) @subcategories = Access::Category.process_batch(@subcategories) if @subcategories @facets = Access::Aggregations.process_batch(@facets) if @facets end end end
Version data entries
14 entries across 14 versions & 1 rubygems