Class: HasEncryptedField::Configuration
- Inherits:
-
Object
- Object
- HasEncryptedField::Configuration
- Defined in:
- lib/has_encrypted_field/configuration.rb
Overview
Configuration
This class holds all initializer configuration for the gem.
Instance Attribute Summary collapse
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 |
# File 'lib/has_encrypted_field/configuration.rb', line 11 def initialize @secret_key = initialize_secret_key end |
Instance Attribute Details
#secret_key ⇒ Object
Returns the value of attribute secret_key.
9 10 11 |
# File 'lib/has_encrypted_field/configuration.rb', line 9 def secret_key @secret_key end |