class Conrad::Formatters::JSON

Formats a given Hash into a presentable JSON format.

Public Instance Methods

call(event) click to toggle source

Formats a given Hash into a presentable JSON format.

@param event [Hash] event to be formatted

@return [String] JSON formatted string

# File lib/conrad/formatters/json.rb, line 15
def call(event)
  event.to_json
end