Class: SymmetricEncryption::Generators::NewKeysGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/symmetric_encryption/new_keys/new_keys_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_config_fileObject


8
9
10
# File 'lib/rails/generators/symmetric_encryption/new_keys/new_keys_generator.rb', line 8

def create_config_file
  SymmetricEncryption.generate_symmetric_key_files(File.join('config', "symmetric-encryption.yml"), environment)
end