Class: ActiveEncryption::Configuration::Store
- Inherits:
-
Object
- Object
- ActiveEncryption::Configuration::Store
- Defined in:
- lib/active_encryption/configuration/store.rb
Overview
The ActiveEncryption::Configuration::Store class stores the gem configuration.
Constant Summary collapse
- DEFAULTS =
{ encryption_setting_store: nil, default_encryption_setting_id: :default }.freeze
Instance Method Summary collapse
-
#initialize ⇒ Store
constructor
A new instance of Store.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ Store
Returns a new instance of Store.
17 18 19 |
# File 'lib/active_encryption/configuration/store.rb', line 17 def initialize reset end |
Instance Method Details
#reset ⇒ Object
21 22 23 24 25 |
# File 'lib/active_encryption/configuration/store.rb', line 21 def reset DEFAULTS.each do |key, value| public_send("#{key}=", value) end end |