debian-mirror-gitlab/app/serializers/ci/basic_variable_entity.rb

15 lines
270 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# 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
2023-06-09 08:11:10 +05:30
expose :raw?, as: :raw
2020-05-24 23:13:21 +05:30
end
end