20 lines
365 B
Ruby
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 |