class ZendeskAPI::HelpCenter::Section::Translation

Public Class Methods

new(client, attributes = {}) click to toggle source
Calls superclass method
# File lib/zendesk_api/help_center.rb, line 68
def initialize(client, attributes = {})
  attributes['section_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 73
def destroy!
  super do |req|
    req.path = @client.config.url + '/help_center/translations/' + id.to_s
  end
end