lib/appsignal/utils/params_sanitizer.rb in appsignal-2.1.2 vs lib/appsignal/utils/params_sanitizer.rb in appsignal-2.2.0.beta.1
- old
+ new
@@ -1,7 +1,8 @@
module Appsignal
module Utils
+ # @api private
class ParamsSanitizer
FILTERED = "[FILTERED]".freeze
class << self
def sanitize(params, options = {})
@@ -14,10 +15,10 @@
case value
when Hash
sanitize_hash(value, options)
when Array
sanitize_array(value, options)
- when TrueClass, FalseClass, NilClass, Fixnum, String, Symbol, Float
+ when TrueClass, FalseClass, NilClass, Integer, String, Symbol, Float
unmodified(value)
else
inspected(value)
end
end