Class: Neo4Apis::CLI::Base

Inherits:
Thor
  • Object
show all
Defined in:
lib/neo4apis/cli/base.rb

Instance Method Summary collapse

Instance Method Details

#neo4j_sessionObject



8
9
10
# File 'lib/neo4apis/cli/base.rb', line 8

def neo4j_session
  Neo4j::Session.open(:server_db, options[:neo4j_url], basic_auth: {username: options[:neo4j_username], password: options[:neo4j_password]})
end