Module: OnlinePayments::SDK::Logging::Obfuscation::ObfuscationCapable
- Included in:
- Client, Communication::Connection, Communicator
- Defined in:
- lib/onlinepayments/sdk/logging/obfuscation/obfuscation_capable.rb
Overview
Abstract mixin module that allows specifying body and header obfuscators for an object.
Instance Method Summary collapse
-
#set_body_obfuscator(body_obfuscator) ⇒ Object
Sets the current body obfuscator to use.
-
#set_header_obfuscator(header_obfuscator) ⇒ Object
Sets the current header obfuscator to use.
Instance Method Details
#set_body_obfuscator(body_obfuscator) ⇒ Object
Sets the current body obfuscator to use.
9 10 11 |
# File 'lib/onlinepayments/sdk/logging/obfuscation/obfuscation_capable.rb', line 9 def set_body_obfuscator(body_obfuscator) raise NotImplementedError end |
#set_header_obfuscator(header_obfuscator) ⇒ Object
Sets the current header obfuscator to use.
14 15 16 |
# File 'lib/onlinepayments/sdk/logging/obfuscation/obfuscation_capable.rb', line 14 def set_header_obfuscator(header_obfuscator) raise NotImplementedError end |