gitlab-org--gitlab-foss/app/services/gpg_keys/destroy_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
183 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module GpgKeys
class DestroyService < Keys::BaseService
def execute(key)
key.destroy
end
end
end
GpgKeys::DestroyService.prepend_mod