Class: Trocla::Encryptions::None

Inherits:
Base
  • Object
show all
Defined in:
lib/trocla/encryptions/none.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #trocla

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Trocla::Encryptions::Base

Instance Method Details

#decrypt(value) ⇒ Object



6
7
8
# File 'lib/trocla/encryptions/none.rb', line 6

def decrypt(value)
  value
end

#encrypt(value) ⇒ Object



2
3
4
# File 'lib/trocla/encryptions/none.rb', line 2

def encrypt(value)
  value
end