5 lines
149 B
Ruby
5 lines
149 B
Ruby
json.id @contact.id
|
|
json.has_email @contact.email.present?
|
|
json.has_name @contact.name.present?
|
|
json.has_phone_number @contact.phone_number.present?
|