Module: ActionText::Encryption
- Defined in:
- lib/action_text/encryption.rb
Instance Method Summary collapse
Instance Method Details
#decrypt ⇒ Object
14 15 16 17 18 19 |
# File 'lib/action_text/encryption.rb', line 14 def decrypt transaction do super decrypt_rich_texts if has_encrypted_rich_texts? end end |
#encrypt ⇒ Object
7 8 9 10 11 12 |
# File 'lib/action_text/encryption.rb', line 7 def encrypt transaction do super encrypt_rich_texts if has_encrypted_rich_texts? end end |