Files
old-vendor-scheduler-service/app/services/vendors/vistar/vistar_settings.rb
2022-03-23 05:44:42 +01:00

20 lines
365 B
Ruby

# frozen_string_literal: true
module Vendors
module Vistar
class VistarSettings
include Singleton
def vistar_url(path)
URI::join(
AppConfig.get_mandatory('vendors.vistar.base_url'),
path
)
end
def network_id
AppConfig.get_mandatory('vendors.vistar.network_id')
end
end
end
end