From 4f1dd0a88c9a0a39b030d78f8018381b4f48f2d4 Mon Sep 17 00:00:00 2001 From: maxdemarzi Date: Sun, 13 Feb 2011 11:57:04 -0800 Subject: [PATCH] adding fullpath type --- lib/neography/rest.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/neography/rest.rb b/lib/neography/rest.rb index 0b8c44f..81e62a9 100644 --- a/lib/neography/rest.rb +++ b/lib/neography/rest.rb @@ -388,12 +388,14 @@ def get_order(order) def get_type(type) case type - when :node, "nodes", :nodes, "nodes" - "node" when :relationship, "relationship", :relationships, "relationships" "relationship" - else + when :path, "path", :paths, "paths" "path" + when :fullpath, "fullpath", :fullpaths, "fullpaths" + "fullpath" + else + "node" end end