Class: RedactedDebugOutput
- Inherits:
-
Object
- Object
- RedactedDebugOutput
- Defined in:
- lib/core/controlplane_api_direct.rb
Constant Summary collapse
- SAFE_HEADERS =
%w[Content-Type Content-Length Accept Host Date Cache-Control Connection].freeze
- HEADER_REGEX =
/^([A-Za-z\-]+): (.+)$/.freeze
Instance Method Summary collapse
Instance Method Details
#<<(msg) ⇒ Object
7 8 9 |
# File 'lib/core/controlplane_api_direct.rb', line 7 def <<(msg) $stdout << redact(msg) end |