Class: Neo4j::Core::CypherSession::Responses::Embedded
- Defined in:
- lib/neo4j/core/cypher_session/responses/embedded.rb
Instance Attribute Summary collapse
-
#request_data ⇒ Object
readonly
Returns the value of attribute request_data.
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(execution_results, options = {}) ⇒ Embedded
constructor
A new instance of Embedded.
Methods inherited from Base
Constructor Details
#initialize(execution_results, options = {}) ⇒ Embedded
Returns a new instance of Embedded.
10 11 12 13 14 15 16 17 18 |
# File 'lib/neo4j/core/cypher_session/responses/embedded.rb', line 10 def initialize(execution_results, = {}) # validate_response!(execution_results) @wrap_level = [:wrap_level] || Neo4j::Core::Config.wrapping_level @results = execution_results.map do |execution_result| result_from_execution_result(execution_result) end end |
Instance Attribute Details
#request_data ⇒ Object (readonly)
Returns the value of attribute request_data.
8 9 10 |
# File 'lib/neo4j/core/cypher_session/responses/embedded.rb', line 8 def request_data @request_data end |
#results ⇒ Object (readonly)
Returns the value of attribute results.
8 9 10 |
# File 'lib/neo4j/core/cypher_session/responses/embedded.rb', line 8 def results @results end |