zendesk / zendesk_api_client_rb

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

Add Translation resource #495

Closed codealchemy closed 2 years ago

codealchemy commented 2 years ago

cc: @zendesk/i18n

Following the API documentation, this will enable CRUD operations for Article / Section / Category translations.

Notes:

Patch path issue when deleting translations ```ruby translation = client.categories.translations.find(id: 'fr-FR') translation.destroy do |req| req.path = "#{client.config.url}/help_center/translations/#{translation.id}" end ```