Source code for worldline.connect.sdk.log.obfuscation_capable

from abc import ABCMeta, abstractmethod


[docs]class ObfuscationCapable(object): """ Classes that extend this class support obfuscating bodies and headers. """ __metaclass__ = ABCMeta
[docs] @abstractmethod def set_body_obfuscator(self, body_obfuscator): """ Sets the current body obfuscator to use. """ raise NotImplementedError
[docs] @abstractmethod def set_header_obfuscator(self, header_obfuscator): """ Sets the current header obfuscator to use. """ raise NotImplementedError