module Letsencrypt
Attributes
configuration[RW]
Public Class Methods
challenge_configured?()
click to toggle source
# File lib/letsencrypt-rails-heroku/letsencrypt.rb, line 11 def self.challenge_configured? configuration.acme_challenge_filename && configuration.acme_challenge_filename.start_with?(".well-known/") && configuration.acme_challenge_file_content end
configure() { |configuration| ... }
click to toggle source
# File lib/letsencrypt-rails-heroku/letsencrypt.rb, line 6 def self.configure self.configuration ||= Configuration.new yield(configuration) if block_given? end
registered?()
click to toggle source
# File lib/letsencrypt-rails-heroku/letsencrypt.rb, line 17 def self.registered? configuration.acme_private_key && configuration.acme_key_id end