Skip to content

Commit

Permalink
make the relationship types properly
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Jun 14, 2013
1 parent 739befe commit a547370
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/neography/rest/relationship_types.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
module Neography
class Rest
class RelationshipTypes < Properties
class RelationshipTypes
extend Neography::Rest::Paths

add_path :all, "/relationship/types"

def initialize(connection)
@connection = connection
end

def list
@connection.get(all_path)
end
Expand Down

0 comments on commit a547370

Please sign in to comment.