2018-07-19 14:43:13 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-21 06:21:50 -04:00
|
|
|
class ContainerRepositoriesSerializer < BaseSerializer
|
2020-02-06 16:08:48 -05:00
|
|
|
include WithPagination
|
2017-09-21 06:21:50 -04:00
|
|
|
entity ContainerRepositoryEntity
|
2019-10-24 20:06:14 -04:00
|
|
|
|
|
|
|
def represent_read_only(resource)
|
|
|
|
represent(resource, except: [:destroy_path])
|
|
|
|
end
|
2017-09-21 06:21:50 -04:00
|
|
|
end
|