Method: Mushy::WriteJson#process
- Defined in:
- lib/mushy/fluxs/write_json.rb
#process(event, config) ⇒ Object
30 31 32 33 34 |
# File 'lib/mushy/fluxs/write_json.rb', line 30 def process(event, config) { config[:key] => event.to_json } end |