lib/zendesk_api/actions.rb
# 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.
If this resource hasn ' t already been deleted then do so .
def destroy
      return false if destroyed? || new_record?
      @client.connection.delete(url || path)
      @destroyed = true
    end
def destroy return false if destroyed? || new_record? @client . connection . delete ( url || path ) @destroyed = true end
If this resource hasn't already been deleted, then do so.
If this resource hasn ' t already been deleted then do so .
None
Boolean