Welcome to mirror list, hosted at ThFree Co, Russian Federation.

protected_tag.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba984ae79b81c639890858e26e23d32b5299a9e0 (plain)
1
2
3
4
5
6
7
8
9
10
# 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