debian-mirror-gitlab/app/serializers/diffs_metadata_entity.rb

7 lines
171 B
Ruby
Raw Permalink Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
class DiffsMetadataEntity < DiffsEntity
unexpose :diff_files
2020-01-01 13:55:28 +05:30
expose :raw_diff_files, as: :diff_files, using: DiffFileMetadataEntity
2019-12-21 20:55:43 +05:30
end