Class: UffizziCore::Api::Cli::V1::Projects::DeploymentSerializer::ContainerSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- UffizziCore::Api::Cli::V1::Projects::DeploymentSerializer::ContainerSerializer
- Defined in:
- app/serializers/uffizzi_core/api/cli/v1/projects/deployment_serializer/container_serializer.rb
Instance Method Summary collapse
Instance Method Details
#secret_variables ⇒ Object
25 26 27 28 29 30 31 |
# File 'app/serializers/uffizzi_core/api/cli/v1/projects/deployment_serializer/container_serializer.rb', line 25 def secret_variables return unless object.secret_variables.present? object.secret_variables.map do |var| { name: var['name'], value: anonymize(var['value']) } end end |