Class: ActiveRecordEncryption::Encryptor::Raw
- Defined in:
- lib/active_record_encryption/encryptor/raw.rb
Overview
Basic base class of encryptor. Format user input to string before encryption.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ActiveRecordEncryption::Encryptor::Base
Instance Method Details
#encrypt(value) ⇒ Object
8 9 10 |
# File 'lib/active_record_encryption/encryptor/raw.rb', line 8 def encrypt(value) ActiveRecordEncryption::Quoter.instance.type_cast(super) end |