about summary refs log tree commit diff
path: root/app/views/api/v1/accounts/relationship.rabl
blob: 3e5bf882c1a8022defa3ec868266abda773a4068 (plain) (blame)
1
2
3
4
5
object @account
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 }