debian-mirror-gitlab/app/serializers/ci/basic_variable_entity.rb
2020-05-24 23:13:21 +05:30

13 lines
243 B
Ruby

# frozen_string_literal: true
module Ci
class BasicVariableEntity < Grape::Entity
expose :id
expose :key
expose :value
expose :variable_type
expose :protected?, as: :protected
expose :masked?, as: :masked
end
end