class LetsencryptPlugin::HerokuOutput
Public Class Methods
new(domain, cert)
click to toggle source
Calls superclass method
LetsencryptPlugin::CertificateOutput::new
# File lib/letsencrypt_plugin/heroku_output.rb, line 5 def initialize(domain, cert) super(domain, cert) end
Public Instance Methods
display_info()
click to toggle source
# File lib/letsencrypt_plugin/heroku_output.rb, line 14 def display_info Rails.logger.info('You are running this script on Heroku, please copy-paste certificates to your local machine') Rails.logger.info('and then follow https://devcenter.heroku.com/articles/ssl-endpoint guide:') end
output_cert(cert_type, cert_content)
click to toggle source
# File lib/letsencrypt_plugin/heroku_output.rb, line 9 def output_cert(cert_type, cert_content) Rails.logger.info("====== #{@domain}-#{cert_type} ======") puts cert_content end