class Account::Webhooks::Outgoing::DeliveryAttemptsController

def update

PATCH/PUT /account/webhooks/outgoing/delivery_attempts/:id.json
PATCH/PUT /account/webhooks/outgoing/delivery_attempts/:id
def update
  respond_to do |format|
    if @delivery_attempt.update(delivery_attempt_params)
      format.html { redirect_to [:account, @delivery_attempt], notice: I18n.t("webhooks/outgoing/delivery_attempts.notifications.updated") }
      format.json { render :show, status: :ok, location: [:account, @delivery_attempt] }
    else
      format.html { render :edit, status: :unprocessable_entity }
      format.json { render json: @delivery_attempt.errors, status: :unprocessable_entity }
    end
  end
end