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

6 lines
171 B
Ruby

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