Class: Schienenzeppelin::AddOns::Credentials

Inherits:
Schienenzeppelin::AddOn show all
Defined in:
lib/schienenzeppelin/addons/credentials.rb

Instance Attribute Summary

Attributes inherited from Schienenzeppelin::AddOn

#context, #dependencies

Instance Method Summary collapse

Methods inherited from Schienenzeppelin::AddOn

apply, default_source_root, dependencies, get, identifier, #initialize

Constructor Details

This class inherits a constructor from Schienenzeppelin::AddOn

Instance Method Details

#applyObject



6
7
8
9
# File 'lib/schienenzeppelin/addons/credentials.rb', line 6

def apply
  key_path = Pathname.new('config/credentials/production.key')
  create_credential_files(key_path, 'config/credentials/production.yml.enc')
end