Module: SymmetricEncryption::ActiveRecord::AttrEncrypted::ClassMethods

Defined in:
app/models/panda_pal/organization.rb

Instance Method Summary collapse

Instance Method Details

#attr_encrypted(*args, **kwargs) ⇒ Object



13
14
15
16
17
18
19
# File 'app/models/panda_pal/organization.rb', line 13

def attr_encrypted(*args, **kwargs)
  if self <= SkipSymmetricEncAttrEncrypted
    super
  else
    panda_pal_se_attr_encrypted(*args, **kwargs)
  end
end

#panda_pal_se_attr_encryptedObject



11
# File 'app/models/panda_pal/organization.rb', line 11

alias_method :panda_pal_se_attr_encrypted, :attr_encrypted