0b31e14132
* Feature: Add online status to each user * Add OnlineStatusable, add availability status to thumbnail
10 lines
281 B
Ruby
10 lines
281 B
Ruby
json.array! @agents do |agent|
|
|
json.account_id agent.account_id
|
|
json.availability_status agent.availability_status
|
|
json.confirmed agent.confirmed?
|
|
json.email agent.email
|
|
json.id agent.id
|
|
json.name agent.name
|
|
json.role agent.role
|
|
json.thumbnail agent.avatar_url
|
|
end
|