Class: NeoRest::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/NeoRest/config.rb

Class Method Summary collapse

Class Method Details

.init(host = 'localhost', port = 7474) ⇒ Object



6
7
8
9
10
# File 'lib/NeoRest/config.rb', line 6

def init host = 'localhost', port = 7474
  $neo_host = host
  $neo_port = port
  $neo_base_url = "http://#{$neo_host}:#{$neo_port}/db/data"
end