Sha256: 4ae26660c00b7785029c796a8c5b44b7929ac0a268e44980b8c07d590e7aaf10
Contents?: true
Size: 471 Bytes
Versions: 1
Compression:
Stored size: 471 Bytes
Contents
module Neo4j # To contain any base login for ActiveNode/ActiveRel which # is external to the main classes module ActiveBase class << self def current_session SessionRegistry.current_session end def set_current_session(session) SessionRegistry.current_session = session end def set_current_session_by_adaptor(adaptor) set_current_session(Neo4j::Core::CypherSession.new(adaptor)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
neo4j-6.0.5 | lib/neo4j/active_base.rb |