Class: Ingenico::Connect::SDK::Logging::HeaderObfuscator::Builder Deprecated
- Inherits:
-
Obfuscator::Builder
- Object
- Obfuscator::Builder
- Ingenico::Connect::SDK::Logging::HeaderObfuscator::Builder
- Defined in:
- lib/ingenico/connect/sdk/logging/logging_util.rb
Overview
Deprecated.
This class shouldn’t have been exposed
Instance Attribute Summary
Attributes inherited from Obfuscator::Builder
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize ⇒ Builder
constructor
A new instance of Builder.
- #with_all(name) ⇒ Object
- #with_fixed_length(name, fixed_length) ⇒ Object
Methods inherited from Obfuscator::Builder
#with_keep_end_count, #with_keep_start_count
Constructor Details
#initialize ⇒ Builder
Returns a new instance of Builder.
189 190 191 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 189 def initialize @obfuscators = {} end |
Instance Method Details
#build ⇒ Object
203 204 205 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 203 def build HeaderObfuscator.new(obfuscators) end |
#with_all(name) ⇒ Object
193 194 195 196 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 193 def with_all(name) raise ArgumentError unless name.is_a? String super(name) end |
#with_fixed_length(name, fixed_length) ⇒ Object
198 199 200 201 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 198 def with_fixed_length(name, fixed_length) raise ArgumentError unless name.is_a? String super(name, fixed_length) end |