mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Rubocop upgraded #2711
This commit is contained in:
parent
59c73fca9e
commit
7530d6ecab
33 changed files with 115 additions and 91 deletions
|
@ -76,6 +76,7 @@ class Certificate < ActiveRecord::Base
|
|||
@cached_status = REVOKED
|
||||
end
|
||||
|
||||
# rubocop: disable Metrics/AbcSize
|
||||
def sign!
|
||||
csr_file = Tempfile.new('client_csr')
|
||||
csr_file.write(csr)
|
||||
|
@ -107,6 +108,7 @@ class Certificate < ActiveRecord::Base
|
|||
return false
|
||||
end
|
||||
end
|
||||
# rubocop: enable Metrics/AbcSize
|
||||
|
||||
def revoke!
|
||||
crt_file = Tempfile.new('client_crt')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue