Class: Encryptable::Configuration
- Inherits:
-
Object
- Object
- Encryptable::Configuration
- Defined in:
- lib/encryptable/configuration.rb
Instance Attribute Summary collapse
-
#iv ⇒ Object
Returns the value of attribute iv.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/encryptable/configuration.rb', line 5 def initialize @key_length = 32 @iv_length = 16 end |
Instance Attribute Details
#iv ⇒ Object
Returns the value of attribute iv.
3 4 5 |
# File 'lib/encryptable/configuration.rb', line 3 def iv @iv end |
#key ⇒ Object
Returns the value of attribute key.
3 4 5 |
# File 'lib/encryptable/configuration.rb', line 3 def key @key end |