suggestion_serializer.rb 172 B

1234567
  1. # frozen_string_literal: true
  2. class REST::SuggestionSerializer < ActiveModel::Serializer
  3. attributes :source
  4. has_one :account, serializer: REST::AccountSerializer
  5. end