Method: Chamber::Instance#encrypt
- Defined in:
- lib/chamber/instance.rb
#encrypt(data, **args) ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/chamber/instance.rb', line 69 def encrypt(data, **args) config = configuration.to_hash.merge(**args) Settings .new( **config, settings: data, pre_filters: [Filters::EncryptionFilter], post_filters: [], ) .to_hash end |