Class: Elasticsearch::Transport::Transport::Response
- Inherits:
-
Object
- Object
- Elasticsearch::Transport::Transport::Response
- Defined in:
- lib/elasticsearch/extensions/ansi/response.rb
Instance Method Summary collapse
-
#body_to_ansi ⇒ Object
(also: #body)
Wrap the response body in the Extensions::ANSI::ResponseBody class.
Instance Method Details
#body_to_ansi ⇒ Object Also known as: body
Wrap the response body in the Extensions::ANSI::ResponseBody class
70 71 72 |
# File 'lib/elasticsearch/extensions/ansi/response.rb', line 70 def body_to_ansi Extensions::ANSI::ResponseBody.new @body end |