Module: Appsignal::Utils::QueryParamsSanitizer::ClassMethods Private
- Included in:
- Appsignal::Utils::QueryParamsSanitizer
- Defined in:
- lib/appsignal/utils/query_params_sanitizer.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#sanitize(params, only_top_level = false, key_sanitizer = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/appsignal/utils/query_params_sanitizer.rb', line 9 def sanitize(params, only_top_level = false, key_sanitizer = nil) case params when Hash sanitize_hash params, only_top_level, key_sanitizer when Array sanitize_array params, only_top_level, key_sanitizer else REPLACEMENT_KEY end end |