Class: Ingenico::Connect::SDK::Logging::HeaderObfuscator::Builder Deprecated

Inherits:
Obfuscator::Builder show all
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

#obfuscators

Instance Method Summary collapse

Methods inherited from Obfuscator::Builder

#with_keep_end_count, #with_keep_start_count

Constructor Details

#initializeBuilder

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

#buildObject



203
204
205
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 203

def build
  HeaderObfuscator.new(obfuscators)
end

#with_all(name) ⇒ Object

Raises:

  • (ArgumentError)


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

Raises:

  • (ArgumentError)


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