Sha256: 02b5f4f274738612748a43f2539dd6bbc3b9f5c71ce6483d840d5b911b8f570f
Contents?: true
Size: 506 Bytes
Versions: 14
Compression:
Stored size: 506 Bytes
Contents
# typed: false # frozen_string_literal: true class SettingsController < ApplicationController extend T::Sig before_action :ensure_json_request sig { void } def edit @step = params.fetch(:step, 1).to_i || 1 plug_installation_id = params[:plug_installation_id] response = ::Hephaestus::YettoService.get_plug_installation(plug_installation_id) if response.unavailable? logger.error("Fetching plug installation failed: `#{response}`") not_acceptable end end end
Version data entries
14 entries across 14 versions & 1 rubygems