lib/elasticsearch/model/response/result.rb in elasticsearch-model-6.0.0 vs lib/elasticsearch/model/response/result.rb in elasticsearch-model-6.1.0

- old
+ new

@@ -44,10 +44,10 @@ end end # Respond to methods from `@result` or `@result._source` # - def respond_to?(method_name, include_private = false) + def respond_to_missing?(method_name, include_private = false) @result.respond_to?(method_name.to_sym) || \ @result._source && @result._source.respond_to?(method_name.to_sym) || \ super end