class Trocla::Encryptions::Base
Attributes
config[R]
trocla[R]
Public Class Methods
new(config, trocla)
click to toggle source
# File lib/trocla/encryptions.rb, line 5 def initialize(config, trocla) @trocla = trocla @config = config end
Public Instance Methods
decrypt(value)
click to toggle source
# File lib/trocla/encryptions.rb, line 14 def decrypt(value) raise NoMethodError.new("#{self.class.name} needs to implement 'decrypt()'") end
encrypt(value)
click to toggle source
# File lib/trocla/encryptions.rb, line 10 def encrypt(value) raise NoMethodError.new("#{self.class.name} needs to implement 'encrypt()'") end