Class: FastJsonapi::Instrumentation::Skylight::Normalizers::SerializedJson

Inherits:
SKYLIGHT_NORMALIZER_BASE_CLASS
  • Object
show all
Defined in:
lib/fast_jsonapi/instrumentation/skylight/normalizers/serialized_json.rb

Constant Summary collapse

CAT =
"view.#{FastJsonapi::ObjectSerializer::SERIALIZED_JSON_NOTIFICATION}".freeze

Instance Method Summary collapse

Instance Method Details

#normalize(trace, name, payload) ⇒ Object



14
15
16
# File 'lib/fast_jsonapi/instrumentation/skylight/normalizers/serialized_json.rb', line 14

def normalize(trace, name, payload)
  [ CAT, payload[:name], nil ]
end