Sha256: 7de18abc3c9c4e4eaf0db0bf13ff24e0d22b0648f9697fc0864a9cfb4f6d2c51
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
require 'neo4j/core/cypher_session/adaptors/http' module Neo4j module Core class CypherSession def initialize(adaptor) fail ArgumentError, "Invalid adaptor: #{adaptor.inspect}" if !adaptor.is_a?(Adaptors::Base) @adaptor = adaptor @adaptor.connect end %w( query queries start_transaction end_transaction version transactions ).each do |method| define_method(method) do |*args| @adaptor.send(method, *args) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
neo4j-core-6.0.0.alpha.2 | lib/neo4j/core/cypher_session.rb |
neo4j-core-6.0.0.alpha.1 | lib/neo4j/core/cypher_session.rb |