# frozen_string_literal: true module Vle class VleSettings include Singleton def target_project AppConfig.safe_get('onex.target_project_id') || '1' end def central_url(path) URI::join( AppConfig.safe_get('onex.central_url') || 'http://localhost:5070', path ) end def scheduler_url(path) URI::join( AppConfig.safe_get('onex.scheduler_url') || 'http://localhost:5040', path ) end end end