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

7 lines
171 B
Ruby
Raw Normal View History

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