about summary refs log tree commit diff
path: root/app/serializers/rest/suggestion_serializer.rb
blob: 3d697fd9f1f81c2a8e8fe074c1e3224522a943c1 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class REST::SuggestionSerializer < ActiveModel::Serializer
  attributes :source

  has_one :account, serializer: REST::AccountSerializer
end