class Rack::ActionLogger::EmitAdapter::Base

Public Class Methods

emit(hash) click to toggle source
# File lib/rack/action_logger/emit_adapter/base.rb, line 5
def self.emit(hash); end
wrap(hash) click to toggle source
# File lib/rack/action_logger/emit_adapter/base.rb, line 7
def self.wrap(hash)
  result = {}
  wrap_key = Rack::ActionLogger.configuration.wrap_key
  if wrap_key
    result[wrap_key] = hash
  else
    result = hash
  end
  result
end