e540c0d71e
- added suggestions to mock data - fixed props to be not required
9 lines
192 B
Ruby
9 lines
192 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SuggestionSerializer < BaseSerializer
|
|
entity SuggestionEntity
|
|
|
|
def represent_diff(resource)
|
|
represent(resource, { only: [:diff_lines] })
|
|
end
|
|
end
|