Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
require 'desk_api'
DeskApi.configure do |config|
config.username = ''
config.password = 'Example1'
config.endpoint = ''
customer = DeskApi.customers.create({
first_name: 'Test',
last_name: 'Customer',
phone_numbers: [{ type: 'home', value: '(123) 456-7890' }]
puts customer.phone_numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.