Class: OnlinePayments::SDK::Logging::HeaderObfuscator

Inherits:
Obfuscator
  • Object
show all
Defined in:
lib/onlinepayments/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.



133
134
135
136
# File 'lib/onlinepayments/sdk/logging/logging_util.rb', line 133

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

Class Method Details

.builderObject



138
139
140
# File 'lib/onlinepayments/sdk/logging/logging_util.rb', line 138

def self.builder
  Builder.new
end