class Fedora::Repository
def delete(object)
boolean:: whether the operation is successful
== Return
This can be a uri String ("demo:1", "fedora:info/demo:1") or any object that responds uri method.
object
def delete(object) raise ArgumentError, "Object must not be nil" if object.nil? response = connection.delete("#{url_for(object)}") response.code == '200' or response.code == '204' # Temporary hack around error in Fedora 3.0 Final's REST API end