Module: Neo4j::Core::Config
- Defined in:
- lib/neo4j-core/helpers.rb
Class Method Summary collapse
Class Method Details
.using_new_session? ⇒ Boolean
18 19 20 |
# File 'lib/neo4j-core/helpers.rb', line 18 def self.using_new_session? ENV.key?('NEW_NEO4J_SESSIONS') end |
.wrapping_level(level = nil) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/neo4j-core/helpers.rb', line 22 def self.wrapping_level(level = nil) if level.nil? @wrapping_level || :core_entity else @wrapping_level = level end end |