summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-05-25 19:49:46 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-05-25 19:49:46 +0800
commitbd66bf08b5b9a2cea9320100a91240e93f1c06e5 (patch)
treed198b54d1daa783ce834fb01d21bbae469bae35c /lib/api/entities.rb
parentefebdba21db9e11b876ecb54db48358e13b08ad3 (diff)
downloadgitlab-ce-bd66bf08b5b9a2cea9320100a91240e93f1c06e5.tar.gz
API and doc for protected variables
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 01cc8e8e1ca..b5308aeecf6 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -670,6 +670,7 @@ module API
class Variable < Grape::Entity
expose :key, :value
+ expose :protected?, as: :protected
end
class Pipeline < PipelineBasic