diff options
author | Miranda Fluharty <mfluharty@gitlab.com> | 2019-03-27 22:13:55 +0300 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-03-27 22:13:55 +0300 |
commit | fc8f4b62f887abbc02e2c21b7275f53b51a5bad2 (patch) | |
tree | 3644afa753f4fe855302342bc7f2e56bf17f80e3 /app/serializers | |
parent | 95325c6ab7343f5c241fe63b3e0e782372e93245 (diff) |
Scaffold UI elements for minimal version
Add a masked switch to variable rows
Copy some behavior from the protected switch
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/group_variable_entity.rb | 1 | ||||
-rw-r--r-- | app/serializers/variable_entity.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/serializers/group_variable_entity.rb b/app/serializers/group_variable_entity.rb index 0edab4a3092..19c5fa26f34 100644 --- a/app/serializers/group_variable_entity.rb +++ b/app/serializers/group_variable_entity.rb @@ -6,4 +6,5 @@ class GroupVariableEntity < Grape::Entity expose :value expose :protected?, as: :protected + expose :masked?, as: :masked end diff --git a/app/serializers/variable_entity.rb b/app/serializers/variable_entity.rb index 85cf367fe51..4d48e13cfca 100644 --- a/app/serializers/variable_entity.rb +++ b/app/serializers/variable_entity.rb @@ -6,4 +6,5 @@ class VariableEntity < Grape::Entity expose :value expose :protected?, as: :protected + expose :masked?, as: :masked end |