Sha256: ea4f9d40203f6a52589ba45ee8f7c2329038f7829850f38ff01bf983bc7710f5
Contents?: true
Size: 489 Bytes
Versions: 8
Compression:
Stored size: 489 Bytes
Contents
module Skylight module Normalizers module Grape class EndpointRunFilters < Endpoint register "endpoint_run_filters.grape" CAT = "app.grape.filters".freeze def normalize(_trace, _name, payload) filters = payload[:filters] type = payload[:type] if (!filters || filters.empty?) || !type return :skip end [CAT, "#{type.to_s.capitalize} Filters", nil] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems