Module: FFWD::Debug::Input
- Defined in:
- lib/ffwd/debug.rb
Class Method Summary collapse
Class Method Details
.serialize_event(event) ⇒ Object
29 30 31 32 33 34 35 36 37 |
# File 'lib/ffwd/debug.rb', line 29 def self.serialize_event event event = Hash[event] if = event[:tags] event[:tags] = .to_a end event end |
.serialize_metric(metric) ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'lib/ffwd/debug.rb', line 39 def self.serialize_metric metric metric = Hash[metric] if = metric[:tags] metric[:tags] = .to_a end metric end |