debian-mirror-gitlab/app/serializers/variable_entity.rb
2019-10-12 21:52:04 +05:30

11 lines
212 B
Ruby

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