Sha256: 1363d0670367213705f8308cf12c918115926b2842276b0464ba9ebbe0b0f41b
Contents?: true
Size: 344 Bytes
Versions: 90
Compression:
Stored size: 344 Bytes
Contents
module Appsignal class Aggregator module Middleware class DeleteBlanks def call(event) event.payload.each do |key, value| if value.respond_to?(:empty?) ? value.empty? : !value event.payload.delete(key) end end yield end end end end end
Version data entries
90 entries across 90 versions & 1 rubygems