Class: Ingenico::Direct::SDK::Logging::HeaderObfuscator

Inherits:
Obfuscator
  • Object
show all
Defined in:
lib/ingenico/direct/sdk/logging/logging_util.rb

Overview

Class that obfuscates headers of a message

Defined Under Namespace

Classes: Builder

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Obfuscator

#obfuscate_value

Constructor Details

#initialize(obfuscators) ⇒ HeaderObfuscator

Returns a new instance of HeaderObfuscator.



122
123
124
125
# File 'lib/ingenico/direct/sdk/logging/logging_util.rb', line 122

def initialize(obfuscators)
  # case insensitive
  super(obfuscators, true)
end

Class Method Details

.builderObject



127
128
129
# File 'lib/ingenico/direct/sdk/logging/logging_util.rb', line 127

def self.builder
  Builder.new
end