class Elasticsearch::API::Response

Elasticsearch client API Response object. Receives an Elastic::Transport::Transport::Response in the initializer and behaves like a Hash, except when status or headers are called upon it, in which case it returns the original object’s status and headers.