Sha256: f683914c618baf60b2d2f59535e4aa6b1eb6e766415ce6e9eb853315e8ffc5c8
Contents?: true
Size: 304 Bytes
Versions: 31
Compression:
Stored size: 304 Bytes
Contents
module Rollbar module Scrubbers extend self def scrub_value(value) if Rollbar.configuration.randomize_scrub_length random_filtered_value else '*' * (value.length rescue 8) end end def random_filtered_value '*' * (rand(5) + 3) end end end
Version data entries
31 entries across 31 versions & 1 rubygems