debian-mirror-gitlab/app/serializers/variable_entity.rb
2020-03-09 13:42:32 +05:30

12 lines
236 B
Ruby

# 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