Class: LetsencryptPlugin::DatabaseStore
- Inherits:
-
ChallengeStore
- Object
- ChallengeStore
- LetsencryptPlugin::DatabaseStore
- Defined in:
- lib/letsencrypt_plugin/database_store.rb
Instance Method Summary collapse
Methods inherited from ChallengeStore
Constructor Details
This class inherits a constructor from LetsencryptPlugin::ChallengeStore
Instance Method Details
#store_content ⇒ Object
5 6 7 8 9 |
# 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 |