debian-mirror-gitlab/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

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module GpgKeys
class DestroyService < Keys::BaseService
def execute(key)
key.destroy
end
end
end
2021-09-30 23:02:18 +05:30
GpgKeys::DestroyService.prepend_mod