diff --git a/lib/neography/rest/relationship_types.rb b/lib/neography/rest/relationship_types.rb index e98c977..faada08 100644 --- a/lib/neography/rest/relationship_types.rb +++ b/lib/neography/rest/relationship_types.rb @@ -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