Class: GpgKeys::DestroyService
- Inherits:
-
Keys::BaseService
- Object
- Keys::BaseService
- GpgKeys::DestroyService
- Defined in:
- app/services/gpg_keys/destroy_service.rb
Constant Summary collapse
- BATCH_SIZE =
1000
Instance Attribute Summary
Attributes inherited from Keys::BaseService
Instance Method Summary collapse
Methods inherited from Keys::BaseService
#initialize, #notification_service
Constructor Details
This class inherits a constructor from Keys::BaseService
Instance Method Details
#execute(key) ⇒ Object
7 8 9 10 |
# File 'app/services/gpg_keys/destroy_service.rb', line 7 def execute(key) nullify_signatures(key) key.destroy end |