lib/n4j/request.rb in n4j-0.0.1.6.1 vs lib/n4j/request.rb in n4j-0.0.1.6.3

- old
+ new

@@ -13,9 +13,13 @@ def neo4j_url_prefix @neo4j_url_prefix ||= ENV['NEO4J_REST_URL'] || "http://#{host}:#{port}/db/data" end + def neo4j_url_prefix=(url) + @neo4j_url_prefix = url + end + def port config = YAML.load_file("config/n4j.yml") config[Rails.env]['port'] end