Module: Intercom::ApiOperations::Convert
- Included in:
- Contact
- Defined in:
- lib/intercom/api_operations/convert.rb
Instance Method Summary collapse
Instance Method Details
#convert(user) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/intercom/api_operations/convert.rb', line 6 def convert(user) from_response( Intercom.post( "/contacts/convert", { contact: { user_id: user_id }, user: user.identity_hash } ) ) end |