def destroy
      return false if new_record?

      run_callbacks :destroy do
        httparty = self.class.delete(self[:@url], request_options)
        self.class.handle_critical_response_errors(httparty)
      end

      true
    end
def destroy
      return false if new_record?

      run_callbacks :destroy do
        httparty = self.class.delete(self[:@url], request_options)
        self.class.handle_critical_response_errors(httparty)
      end

      true
    end
Delete an existing model on the server