Class: Ruby::Nginx::System::Mkcert

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby/nginx/system/mkcert.rb

Class Method Summary collapse

Class Method Details

.create!(domain, cert_file_path, key_file_path) ⇒ Object



20
21
22
# File 'lib/ruby/nginx/system/mkcert.rb', line 20

def create!(domain, cert_file_path, key_file_path)
  Commands::CreateMkcertCertificate.new(domain, cert_file_path, key_file_path).run
end

.install!Object



12
13
14
# File 'lib/ruby/nginx/system/mkcert.rb', line 12

def install!
  Commands::InstallMkcert.new.run
end

.setup!Object



16
17
18
# File 'lib/ruby/nginx/system/mkcert.rb', line 16

def setup!
  Commands::SetupMkcert.new.run
end