debian-mirror-gitlab/app/serializers/variable_entity.rb

8 lines
122 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
class VariableEntity < Grape::Entity
expose :id
expose :key
expose :value
expose :protected?, as: :protected
end