Forgot namespace for Config.new ...

This commit is contained in:
Ralf Teusner
2016-05-04 14:54:38 +02:00
parent 16c5191669
commit 102c05eebf

View File

@ -34,7 +34,7 @@ class Xikolo::Client
end
def self.url
@url ||= Config.new(:code_ocean).read.fetch(:xikolo_api_url, 'http://localhost:3000/api/') #caches this with ||=, second value of fetch is default value
@url ||= CodeOcean::Config.new(:code_ocean).read.fetch(:xikolo_api_url, 'http://localhost:3000/api/') #caches this with ||=, second value of fetch is default value
end
def self.accept