module FFWD::Schema::Default::ApplicationJSON

Public Class Methods

dump_event(e) click to toggle source
# File lib/ffwd/schema/default.rb, line 29
def self.dump_event e
  JSON.dump e.to_h
end
dump_metric(m) click to toggle source
# File lib/ffwd/schema/default.rb, line 25
def self.dump_metric m
  JSON.dump m.to_h
end