gitlab-org--gitlab-foss/app/serializers/diffs_metadata_entity.rb

6 lines
150 B
Ruby

# frozen_string_literal: true
class DiffsMetadataEntity < DiffsEntity
unexpose :diff_files
expose :diff_files, using: DiffFileMetadataEntity
end