Module: EncryptedEnv::ENV

Defined in:
lib/encrypted_env/env.rb

Instance Method Summary collapse

Instance Method Details

#decrypt(key, options = {}) ⇒ Object



7
8
9
# File 'lib/encrypted_env/env.rb', line 7

def decrypt(key,options={})
  EncryptedEnv.decrypt(key,options)
end

#encrypt(key, value, options = {}) ⇒ Object



3
4
5
# File 'lib/encrypted_env/env.rb', line 3

def encrypt(key,value,options={})
  EncryptedEnv.encrypt(key,value,options)
end