class ZendeskAPI::HelpCenter::Article::Translation

Public Class Methods

new(client, attributes = {}) click to toggle source
Calls superclass method
# File lib/zendesk_api/help_center.rb, line 92
def initialize(client, attributes = {})
  attributes['article_id'] ||= attributes.delete('source_id')
  super
end

Public Instance Methods

destroy!() click to toggle source
Calls superclass method
# File lib/zendesk_api/help_center.rb, line 97
def destroy!
  super do |req|
    req.path = @client.config.url + '/help_center/translations/' + id.to_s
  end
end