Chatwoot/app/views/api/v1/models/_agent.json.jbuilder
Sojan Jose 8c52a3a953
Chore: Remove duplication of user JBuilder (#911)
* Chore: Reduce duplication of user JBuilder
2020-05-31 23:10:20 +05:30

8 lines
254 B
Ruby

json.account_id resource.account.id
json.availability_status resource.availability_status
json.confirmed resource.confirmed?
json.email resource.email
json.id resource.id
json.name resource.name
json.role resource.role
json.thumbnail resource.avatar_url