Method: Manman::Worker#encrypt_callback
- Defined in:
- lib/manman/worker.rb
#encrypt_callback(text) ⇒ Object
143 144 145 146 147 148 149 150 |
# File 'lib/manman/worker.rb', line 143 def encrypt_callback( text ) if opts.encrypt_callback.nil? puts "[debug] no encrypt callback configured" text # pass through; identity; do nothing else opts.encrypt_callback.encrypt_callback( text ) end end |