Method: Elasticsearch::Model::Response::Base#initialize
- Defined in:
- lib/elasticsearch/model/response/base.rb
#initialize(klass, response, options = {}) ⇒ Object
30 31 32 33 34 |
# File 'lib/elasticsearch/model/response/base.rb', line 30 def initialize(klass, response, ={}) @klass = klass @raw_response = response @response = response end |