Class: Lite::Encryption::Configuration
- Inherits:
-
Object
- Object
- Lite::Encryption::Configuration
- Defined in:
- lib/lite/encryption/configuration.rb
Instance Attribute Summary collapse
-
#secret_key_base ⇒ Object
Returns the value of attribute secret_key_base.
-
#secret_key_salt ⇒ Object
Returns the value of attribute secret_key_salt.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 |
# File 'lib/lite/encryption/configuration.rb', line 10 def initialize @secret_key_base = Lite::Encryption::Key.generate_base @secret_key_salt = Lite::Encryption::Key.generate_salt end |
Instance Attribute Details
#secret_key_base ⇒ Object
Returns the value of attribute secret_key_base.
8 9 10 |
# File 'lib/lite/encryption/configuration.rb', line 8 def secret_key_base @secret_key_base end |
#secret_key_salt ⇒ Object
Returns the value of attribute secret_key_salt.
8 9 10 |
# File 'lib/lite/encryption/configuration.rb', line 8 def secret_key_salt @secret_key_salt end |