maxdemarzi/neography

View on GitHub
lib/neography/rest/relationships.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Neography
  class Rest
    module Relationships
      include Neography::Rest::Helpers
        
      def get_relationship(id)
        @connection.get("/relationship/%{id}" % {:id => get_id(id)})
      end

      def delete_relationship(id)
        @connection.delete("/relationship/%{id}" % {:id => get_id(id)})
      end

    end
  end
end