Class: LetsencryptWebfaction::Application
- Inherits:
-
Object
- Object
- LetsencryptWebfaction::Application
- Defined in:
- lib/letsencrypt_webfaction/application.rb
Instance Method Summary collapse
-
#initialize ⇒ Application
constructor
A new instance of Application.
- #run! ⇒ Object
Constructor Details
#initialize ⇒ Application
11 12 13 |
# File 'lib/letsencrypt_webfaction/application.rb', line 11 def initialize = LetsencryptWebfaction::ArgsParser.new(ARGV) end |
Instance Method Details
#run! ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/letsencrypt_webfaction/application.rb', line 15 def run! # Validate that the correct options were passed. # Register the private key. register_key! # Validate the domains. validator.validate! # Write the obtained certificates. certificate_writer.write! # Dump help text. puts instructions. end |