Class: ElasticSearch::JSONResponse

Inherits:
Faraday::Response::Middleware
  • Object
show all
Defined in:
lib/elasticsearch.rb

Instance Method Summary collapse

Instance Method Details

#parse(body) ⇒ Object



9
10
11
# File 'lib/elasticsearch.rb', line 9

def parse(body)
  Yajl.load body
end