Class: LetsencryptWebfaction::Instructions
- Inherits:
-
Object
- Object
- LetsencryptWebfaction::Instructions
- Defined in:
- lib/letsencrypt_webfaction/instructions.rb
Instance Method Summary collapse
-
#initialize(output_dir, domains) ⇒ Instructions
constructor
A new instance of Instructions.
- #message ⇒ Object
Constructor Details
#initialize(output_dir, domains) ⇒ Instructions
Returns a new instance of Instructions.
3 4 5 6 |
# File 'lib/letsencrypt_webfaction/instructions.rb', line 3 def initialize(output_dir, domains) @output_dir = output_dir @domains = domains end |
Instance Method Details
#message ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/letsencrypt_webfaction/instructions.rb', line 8 def 'LetsEncrypt Webfaction has generated a new certificate for ' \ "#{to_sentence @domains}. The certificates have been placed in " \ "#{@output_dir}. You now need to request installation from the " \ "WebFaction support team.\n\n" \ 'Go to https://help.webfaction.com, log in, and paste the ' \ "following text into a new ticket:\n\n" \ "Please apply the new certificate in #{@output_dir} to " \ "#{to_sentence @domains}. Thanks!" end |