80
81
82
83
84
|
# File 'lib/sem/api/team.rb', line 80
def remove_secret(secret)
Sem::API::Base.client.secrets.detach_from_team!(secret.id, id)
rescue SemaphoreClient::Exceptions::NotFound
raise Sem::Errors::ResourceNotFound.new("Secret", [secret.full_name])
end
|