Class: Actions::Middleware::HideSecrets
- Inherits:
-
Dynflow::Middleware
- Object
- Dynflow::Middleware
- Actions::Middleware::HideSecrets
- Defined in:
- app/lib/actions/middleware/hide_secrets.rb
Instance Method Summary collapse
Instance Method Details
#present ⇒ Object
4 5 6 7 8 |
# File 'app/lib/actions/middleware/hide_secrets.rb', line 4 def present action.input[:secrets] = 'Secrets hidden' if action.input.key?(:secrets) action.output[:secrets] = 'Secrets hidden' if action.output.key?(:secrets) pass end |