Method: Arelastic::Aggregations::BucketSort#initialize

Defined in:
lib/arelastic/aggregations/bucket_sort.rb

#initialize(name, options = {}) ⇒ BucketSort

Returns a new instance of BucketSort.



6
7
8
9
# File 'lib/arelastic/aggregations/bucket_sort.rb', line 6

def initialize(name, options = {})
  super
  @sort = read_option! options, 'sort'
end