Method: Eson::Search::TopChildren#initialize

Defined in:
lib/eson/search/top_children.rb

#initialize(type, options = {}) ⇒ TopChildren

Returns a new instance of TopChildren.



14
15
16
# File 'lib/eson/search/top_children.rb', line 14

def initialize(type, options = {})
  self.options = options.merge(:type => type)
end