Class: FastJsonapi::Instrumentation::Skylight::Normalizers::SerializableHash

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

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#normalize(trace, name, payload) ⇒ Object



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

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