destroying.rb revision 3ebf5f78844a71960f1b3a72f85b239b495be09c
included do
end
end
end
# Only use `destroy_asynchronously` if you want to destroy a repository.
# It prepares the deletion by setting a flag, which enables the deletion
# of its ontologies.
rescue StandardError => e
self.is_destroying = false
save!
cause: e
end
self.is_destroying = false
save!
end
end
self.is_destroying = true
save!
end
end
end