Class: HasEncryptedField::Configuration

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

Overview

Configuration

This class holds all initializer configuration for the gem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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