Method: Acmesmith::SaveCertificateService#initialize
- Defined in:
- lib/acmesmith/save_certificate_service.rb
#initialize(cert, key_mode: '0600', certificate_mode: '0644', version_file: nil, key_file: nil, fullchain_file: nil, chain_file: nil, certificate_file: nil, atomic: true, verbose: false) ⇒ SaveCertificateService
Returns a new instance of SaveCertificateService.
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/acmesmith/save_certificate_service.rb', line 3 def initialize(cert, key_mode: '0600', certificate_mode: '0644', version_file: nil, key_file: nil, fullchain_file: nil, chain_file: nil, certificate_file: nil, atomic: true, verbose: false) @cert = cert @key_mode = key_mode @certificate_mode = certificate_mode @version_file = version_file @key_file = key_file @fullchain_file = fullchain_file @chain_file = chain_file @certificate_file = certificate_file @atomic = atomic @verbose = verbose end |