class Registrar class TechContactsController < BulkChangeController BASE_URL = URI.parse("#{ENV['repp_url']}domains/contacts").freeze ACTIVE_TAB = :technical_contact def update authorize! :manage, :repp uri = BASE_URL request = form_request(uri) action = Actions::DoRequest.new(request, uri) response = action.call start_notice = t('.replaced') process_response(response: response, start_notice: start_notice, active_tab: ACTIVE_TAB) end end end