Class: AtlasEngine::Elasticsearch::Response

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
app/models/atlas_engine/elasticsearch/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ Response

Returns a new instance of Response.



15
16
17
# File 'app/models/atlas_engine/elasticsearch/response.rb', line 15

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



10
11
12
# File 'app/models/atlas_engine/elasticsearch/response.rb', line 10

def response
  @response
end