Class: Aws::Log::ParamFilter
- Inherits:
-
Object
- Object
- Aws::Log::ParamFilter
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb
Instance Method Summary collapse
-
#filter(values, type) ⇒ Object
-
#initialize(options = {}) ⇒ ParamFilter
constructor
end.
Constructor Details
#initialize(options = {}) ⇒ ParamFilter
end
22 23 24 25 |
# File 'gems/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb', line 22 def initialize( = {}) @enabled = [:filter_sensitive_params] != false @additional_filters = [:filter] || [] end |
Instance Method Details
#filter(values, type) ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'gems/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb', line 27 def filter(values, type) case values when Struct then filter_struct(values, type) when Hash then filter_hash(values, type) when Array then filter_array(values, type) else values end end |