Sha256: fe4b47630407dab4255239edfcc857054a94a658aad53d823b443207040e3f73
Contents?: true
Size: 280 Bytes
Versions: 14
Compression:
Stored size: 280 Bytes
Contents
require 'faraday' module AirbrakeAPI module Middleware class ScrubResponse < Faraday::Response::Middleware def parse(body) body.gsub!(/<__utmz>.*?<\/__utmz>/m,'') body.gsub!(/<[0-9]+.*?>.*?<\/[0-9]+.*?>/m,'') body end end end end
Version data entries
14 entries across 14 versions & 1 rubygems