lib/elasticsearch/model/response/results.rb in elasticsearch-model-0.1.7 vs lib/elasticsearch/model/response/results.rb in elasticsearch-model-0.1.8

- old
+ new

@@ -20,10 +20,10 @@ # Returns the {Results} collection # def results # TODO: Configurable custom wrapper - @results = response.response['hits']['hits'].map { |hit| Result.new(hit) } + response.response['hits']['hits'].map { |hit| Result.new(hit) } end end end end