Method: Elasticsearch::Model::Response::Result#initialize
- Defined in:
- lib/elasticsearch/model/response/result.rb
permalink #initialize(attributes = {}) ⇒ Result
Returns a new instance of Result.
33 34 35 |
# File 'lib/elasticsearch/model/response/result.rb', line 33 def initialize(attributes={}) @result = HashWrapper.new(attributes) end |