Chatwoot/app/views/api/v1/models/_hook.json.jbuilder

8 lines
225 B
Text
Raw Normal View History

json.id resource.id
json.app_id resource.app_id
json.status resource.enabled?
2021-06-06 11:29:05 +00:00
json.inbox resource.inbox&.slice(:id, :name)
json.account_id resource.account_id
json.hook_type resource.hook_type
json.settings resource.settings