Method: ActiveRecord::Encryption::Encryptor#initialize
- Defined in:
- activerecord/lib/active_record/encryption/encryptor.rb
#initialize(compress: true) ⇒ Encryptor
Options
-
:compress- Boolean indicating whether records should be compressed before encryption. Defaults totrue.
19 20 21 |
# File 'activerecord/lib/active_record/encryption/encryptor.rb', line 19 def initialize(compress: true) @compress = compress end |