2020-11-10 09:55:26 +00:00
|
|
|
json.meta do
|
|
|
|
json.count @contacts_count
|
|
|
|
json.current_page @current_page
|
|
|
|
end
|
|
|
|
|
2020-08-10 06:45:29 +00:00
|
|
|
json.payload do
|
|
|
|
json.array! @contacts do |contact|
|
2021-07-23 13:09:24 +00:00
|
|
|
json.partial! 'api/v1/models/contact.json.jbuilder', resource: contact, with_contact_inboxes: @include_contact_inboxes
|
2020-08-10 06:45:29 +00:00
|
|
|
end
|
|
|
|
end
|