summaryrefslogtreecommitdiff
path: root/lib/api/entities/protected_tag.rb
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