0b31e14132
* Feature: Add online status to each user * Add OnlineStatusable, add availability status to thumbnail
8 lines
231 B
Ruby
8 lines
231 B
Ruby
json.payload do
|
|
json.availability_status @contact.availability_status
|
|
json.email @contact.email
|
|
json.id @contact.id
|
|
json.name @contact.name
|
|
json.phone_number @contact.phone_number
|
|
json.thumbnail @contact.avatar_url
|
|
end
|