Sha256: 33b3919ff36c19a4106118b100891a69161af6b6283f39acd4476d9b7d3ef133
Contents?: true
Size: 370 Bytes
Versions: 8
Compression:
Stored size: 370 Bytes
Contents
require 'active_support/notifications' module FastJsonapi module ObjectSerializer alias_method :serialized_json_without_instrumentation, :serialized_json def serialized_json ActiveSupport::Notifications.instrument(SERIALIZED_JSON_NOTIFICATION, { name: self.class.name }) do serialized_json_without_instrumentation end end end end
Version data entries
8 entries across 8 versions & 2 rubygems