# File lib/dister/options.rb, line 39 def reload if @use_only_local @global = {} else # Global options hold the user's credentials to access SUSE Studio. # They are stored inside the user's home directory. @global = read_options_from_file(GLOBAL_PATH) # make sure the default api path is available unless @global.has_key? 'api_path' @global['api_path'] = SUSE_STUDIO_DOT_COM_API_PATH end end # Local options hold application specific data (e.g. appliance_id) # They are stored inside the application's root directory. @local = read_options_from_file(LOCAL_PATH) end