Method: Worldline::Acquiring::SDK::Logging::LogMessageBuilder#set_body
- Defined in:
- lib/worldline/acquiring/sdk/logging/log_message_builder.rb
#set_body(body, content_type) ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/worldline/acquiring/sdk/logging/log_message_builder.rb', line 50 def set_body(body, content_type) if is_binary(content_type) @body = "<binary content>" else @body = @body_obfuscator.obfuscate_body(body) end @content_type = content_type end |