Method: Elastic::API::Response#method_missing
- Defined in:
- lib/elastic/api/response.rb
#method_missing(method, *args, &block) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/elastic/api/response.rb', line 34 def method_missing(method, *args, &block) if RESPONSE_METHODS.include? method @response.send method.to_sym else @response.body.send(method.to_sym, *args, &block) end end |