Sha256: 001fa283f6c10c66c57cff44078cf5c8f631be1945ee9eab2f56027bef117b2a
Contents?: true
Size: 305 Bytes
Versions: 4
Compression:
Stored size: 305 Bytes
Contents
require 'tempfile' require 'csv' class FileOutput < Rodimus::Step def before_run_set_output @outgoing = CSV.open('/tmp/connection_logging.csv', 'w') end def after_run_log_path puts "\nData written to #{outgoing.path}\n\n" end def process_row(row) JSON.parse(row).values end end
Version data entries
4 entries across 4 versions & 1 rubygems