gitlab-org--gitlab-foss/app/serializers/group_variable_entity.rb
mfluharty 0481d69907
Add control for variable value masking
Show masked switch for each variable
When toggled on, the variable value will be masked in runner logs
Show warning message if the switch is on but the value is not maskable
2019-03-29 12:49:59 -06:00

10 lines
189 B
Ruby

# frozen_string_literal: true
class GroupVariableEntity < Grape::Entity
expose :id
expose :key
expose :value
expose :protected?, as: :protected
expose :masked?, as: :masked
end