lib/zendesk_api/actions.rb
def destroy!
      return false if destroyed? || new_record?

      @client.connection.delete(url || path) do |req|
        yield req if block_given?
      end

      @destroyed = true
    end
def destroy!
      return false if destroyed? || new_record?

      @client.connection.delete(url || path) do |req|
        yield req if block_given?
      end

      @destroyed = true
    end
def destroy! return false if destroyed? || new_record? @client . connection . delete ( url || path ) do | req | yield req if block_given? end @destroyed = true end
If this resource hasn't already been deleted, then do so.
 @return [Boolean] Successful?
If this resource hasn t already been deleted then do so .