1
0

familiar_followers_serializer.rb 211 B

1234567891011
  1. # frozen_string_literal: true
  2. class REST::FamiliarFollowersSerializer < ActiveModel::Serializer
  3. attribute :id
  4. has_many :accounts, serializer: REST::AccountSerializer
  5. def id
  6. object.id.to_s
  7. end
  8. end