Class: Keys::RevokeService
- Inherits:
-
DestroyService
- Object
- BaseService
- DestroyService
- Keys::RevokeService
- Defined in:
- app/services/keys/revoke_service.rb
Instance Attribute Summary
Attributes inherited from BaseService
Instance Method Summary collapse
Methods inherited from BaseService
#initialize, #notification_service
Constructor Details
This class inherits a constructor from Keys::BaseService
Instance Method Details
#execute(key) ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/services/keys/revoke_service.rb', line 5 def execute(key) key.transaction do unverify_associated_signatures(key) raise ActiveRecord::Rollback unless super(key) end end |