1
0
REI-Fixed/app/views/api/accounts/relationships.rabl

6 lines
236 B
Plaintext
Raw Normal View History

collection @accounts
attribute :id
node(:following) { |account| @following[account.id] || false }
node(:followed_by) { |account| @followed_by[account.id] || false }
node(:blocking) { |account| @blocking[account.id] || false }