class Account::Webhooks::Outgoing::DeliveryAttemptsController
def create
POST /account/webhooks/outgoing/deliveries/:delivery_id/delivery_attempts
def create respond_to do |format| if @delivery_attempt.save format.html { redirect_to [:account, @delivery, :delivery_attempts], notice: I18n.t("webhooks/outgoing/delivery_attempts.notifications.created") } format.json { render :show, status: :created, location: [:account, @delivery_attempt] } else format.html { render :new, status: :unprocessable_entity } format.json { render json: @delivery_attempt.errors, status: :unprocessable_entity } end end end