Initial commit

This commit is contained in:
Senad Uka
2022-03-23 05:44:42 +01:00
parent 1405281a5c
commit eea10dd03b
113 changed files with 3617 additions and 81 deletions

View File

@@ -0,0 +1,25 @@
# 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