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

container_repositories_serializer.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0e9bdee187b1a6af9e2c870ecd105202f69b1add (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class ContainerRepositoriesSerializer < BaseSerializer
  include WithPagination
  entity ContainerRepositoryEntity

  def represent_read_only(resource)
    represent(resource, except: [:destroy_path])
  end
end