Welcome to mirror list, hosted at ThFree Co, Russian Federation.

variable_entity.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 017035fa11765af5a4a90030aae2d34c65942117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class VariableEntity < Grape::Entity
  expose :id
  expose :key
  expose :value
  expose :variable_type

  expose :protected?, as: :protected
  expose :masked?, as: :masked
  expose :environment_scope
end