zendesk / zendesk_api_client_rb

Official Ruby Zendesk API Client
http://developer.zendesk.com/
Apache License 2.0
387 stars 183 forks source link

Add resource CustomStatus #491

Closed nhat-zendesk closed 2 years ago

nhat-zendesk commented 2 years ago

Add the resource CustomStatus to the gem

client.custom_statuses.create!(:status_category => 'open', :agent_label => 'In processing')
client.custom_statuses.to_a
client.custom_statuses.find!(:id => 1)
client.custom_statuses.update!(:id => 1,  :agent_label => 'Urgent')
client.custom_statuses.destroy!(:id => 1)