From 5b0132c5cc256719630596c58c4bd77ea1f7ca0f Mon Sep 17 00:00:00 2001 From: Max De Marzi Date: Tue, 10 Jan 2012 10:19:09 -0600 Subject: [PATCH] get rid of old function --- lib/neography/rest.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/neography/rest.rb b/lib/neography/rest.rb index 3242ec4..f862b46 100644 --- a/lib/neography/rest.rb +++ b/lib/neography/rest.rb @@ -341,11 +341,6 @@ def get_paths(from, to, relationships, depth=1, algorithm="allPaths") paths = post("/node/#{get_id(from)}/paths", options) || Array.new end - def execute_query_old(query) - options = { :body => {:query => query}.to_json, :headers => {'Content-Type' => 'application/json'} } - result = post("/ext/CypherPlugin/graphdb/execute_query", options) - end - def execute_query(query, params = {}) options = { :body => {:query => query, :params => params}.to_json, :headers => {'Content-Type' => 'application/json'} } result = post("/ext/CypherPlugin/graphdb/execute_query", options)