Skip to content

Commit

Permalink
adding fullpath type
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Feb 13, 2011
1 parent 8f9f6df commit 4f1dd0a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/neography/rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4f1dd0a

Please sign in to comment.