chore: Add Additional Contact APIs (#1130)

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-08-10 12:15:29 +05:30
committed by GitHub
parent ec3c2ed4bb
commit a6a62d92bf
11 changed files with 129 additions and 3 deletions

View File

@@ -0,0 +1 @@
json.partial! 'api/v1/models/contact_inbox.json.jbuilder', resource: @contact_inbox

View File

@@ -0,0 +1,5 @@
json.payload do
json.array! @contacts do |contact|
json.partial! 'api/v1/models/contact.json.jbuilder', resource: contact
end
end