Class: Serket::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/serket/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#delimiterObject

Returns the value of attribute delimiter.



3
4
5
# File 'lib/serket/configuration.rb', line 3

def delimiter
  @delimiter
end

#formatObject

Returns the value of attribute format.



3
4
5
# File 'lib/serket/configuration.rb', line 3

def format
  @format
end

#private_key_pathObject

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_pathObject

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_algorithmObject

Returns the value of attribute symmetric_algorithm.



3
4
5
# File 'lib/serket/configuration.rb', line 3

def symmetric_algorithm
  @symmetric_algorithm
end