Class: Serket::Configuration
- Inherits:
-
Object
- Object
- Serket::Configuration
- Defined in:
- lib/serket/configuration.rb
Instance Attribute Summary collapse
-
#delimiter ⇒ Object
Returns the value of attribute delimiter.
-
#format ⇒ Object
Returns the value of attribute format.
-
#private_key_path ⇒ Object
Returns the value of attribute private_key_path.
-
#public_key_path ⇒ Object
Returns the value of attribute public_key_path.
-
#symmetric_algorithm ⇒ Object
Returns the value of attribute symmetric_algorithm.
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 9 |
# File 'lib/serket/configuration.rb', line 5 def initialize @delimiter = "::" @format = :delimited @symmetric_algorithm = 'AES-256-CBC' end |
Instance Attribute Details
#delimiter ⇒ Object
Returns the value of attribute delimiter.
3 4 5 |
# File 'lib/serket/configuration.rb', line 3 def delimiter @delimiter end |
#format ⇒ Object
Returns the value of attribute format.
3 4 5 |
# File 'lib/serket/configuration.rb', line 3 def format @format end |
#private_key_path ⇒ Object
Returns the value of attribute private_key_path.
3 4 5 |
# File 'lib/serket/configuration.rb', line 3 def private_key_path @private_key_path end |
#public_key_path ⇒ Object
Returns the value of attribute public_key_path.
3 4 5 |
# File 'lib/serket/configuration.rb', line 3 def public_key_path @public_key_path end |
#symmetric_algorithm ⇒ Object
Returns the value of attribute symmetric_algorithm.
3 4 5 |
# File 'lib/serket/configuration.rb', line 3 def symmetric_algorithm @symmetric_algorithm end |