Class: Ingenico::Connect::SDK::Logging::PropertyObfuscator::Builder Deprecated
- Inherits:
-
Obfuscator::Builder
- Object
- Obfuscator::Builder
- Ingenico::Connect::SDK::Logging::PropertyObfuscator::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(property) ⇒ Object
- #with_fixed_length(property, fixed_length) ⇒ Object
- #with_keep_end_count(property, count) ⇒ Object
- #with_keep_start_count(key, count) ⇒ Object
Constructor Details
#initialize ⇒ Builder
Returns a new instance of Builder.
236 237 238 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 236 def initialize @obfuscators = {} end |
Instance Method Details
#build ⇒ Object
260 261 262 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 260 def build PropertyObfuscator.new(obfuscators) end |
#with_all(property) ⇒ Object
240 241 242 243 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 240 def with_all(property) raise ArgumentError unless property.is_a? String super(property) end |
#with_fixed_length(property, fixed_length) ⇒ Object
245 246 247 248 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 245 def with_fixed_length(property, fixed_length) raise ArgumentError unless property.is_a? String super(property, fixed_length) end |
#with_keep_end_count(property, count) ⇒ Object
255 256 257 258 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 255 def with_keep_end_count(property, count) raise ArgumentError unless property.is_a? String super(property, count) end |
#with_keep_start_count(key, count) ⇒ Object
250 251 252 253 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 250 def with_keep_start_count(key, count) raise ArgumentError unless key.is_a? String super(key, count) end |