Sha256: 4fc01783f5cd5cebfc829562af40707366c89da8f77ef20976baa377bf500628
Contents?: true
Size: 463 Bytes
Versions: 20
Compression:
Stored size: 463 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] return :skip if (!filters || filters.empty?) || !type [CAT, "#{type.to_s.capitalize} Filters", nil] end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems