class LetsencryptPlugin::DatabaseStore

Public Instance Methods

store_content() click to toggle source
# File lib/letsencrypt_plugin/database_store.rb, line 5
def store_content
  ch = LetsencryptPlugin::Challenge.first
  ch = LetsencryptPlugin::Challenge.new if ch.nil?
  ch.update(response: @content)
end