Module: FFWD::Debug::Output

Defined in:
lib/ffwd/debug.rb

Class Method Summary collapse

Class Method Details

.serialize_event(event) ⇒ Object



51
52
53
# File 'lib/ffwd/debug.rb', line 51

def self.serialize_event event
  event.to_h
end

.serialize_metric(metric) ⇒ Object



55
56
57
# File 'lib/ffwd/debug.rb', line 55

def self.serialize_metric metric
  metric.to_h
end