Method: Elastic::Nodes::Sort#render

Defined in:
lib/elastic/nodes/sort.rb

#render(_options = {}) ⇒ Object



23
24
25
26
27
# File 'lib/elastic/nodes/sort.rb', line 23

def render(_options = {})
  hash = child.render(_options)
  hash['sort'] = render_sorts
  hash
end