zendesk / zendesk_api_client_rb

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

Use `singular_resource_name` on CreateOrUpdate actions #404

Closed nogates closed 4 years ago

nogates commented 4 years ago

Description

The CreateOrUpdate is not working properly since it's using the plural name of the resource for the root key, and it should be using the singular name since we are updating an individual resource

Fixes https://github.com/zendesk/zendesk_api_client_rb/issues/308