Class: Covert::Config
- Inherits:
-
Object
- Object
- Covert::Config
- Defined in:
- lib/covert/config.rb
Overview
Covert configuration
Instance Attribute Summary collapse
-
#cipher ⇒ Object
Returns the value of attribute cipher.
-
#cipher_key ⇒ Object
Returns the value of attribute cipher_key.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 13 |
# File 'lib/covert/config.rb', line 10 def initialize @cipher_key = nil @cipher = 'AES-256-CBC' end |
Instance Attribute Details
#cipher ⇒ Object
Returns the value of attribute cipher.
8 9 10 |
# File 'lib/covert/config.rb', line 8 def cipher @cipher end |
#cipher_key ⇒ Object
Returns the value of attribute cipher_key.
8 9 10 |
# File 'lib/covert/config.rb', line 8 def cipher_key @cipher_key end |