Class: X509CertificateRevokeService

Inherits:
Object
  • Object
show all
Defined in:
app/services/x509_certificate_revoke_service.rb

Instance Method Summary collapse

Instance Method Details

#execute(certificate) ⇒ Object



4
5
6
7
8
# File 'app/services/x509_certificate_revoke_service.rb', line 4

def execute(certificate)
  return unless certificate.revoked?

  certificate.x509_commit_signatures.update_all(verification_status: :unverified)
end