Sha256: 998fa902b7baca2df294e3a86bec33cc8e96a46f067fb25d432e5e2ceefbdf1a
Contents?: true
Size: 488 Bytes
Versions: 40
Compression:
Stored size: 488 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
40 entries across 40 versions & 1 rubygems