debian-mirror-gitlab/lib/api/entities/protected_tag.rb
2023-01-12 18:35:48 +00:00

11 lines
267 B
Ruby

# frozen_string_literal: true
module API
module Entities
class ProtectedTag < Grape::Entity
expose :name, documentation: { type: 'string', example: 'release-1-0' }
expose :create_access_levels, using: Entities::ProtectedRefAccess
end
end
end