lib/legion/settings/loader.rb in legion-settings-1.1.0 vs lib/legion/settings/loader.rb in legion-settings-1.1.1
- old
+ new
@@ -91,9 +91,13 @@
def load_env
load_api_env
end
+ def load_module_settings(config)
+ @settings = deep_merge(config, @settings)
+ end
+
def load_module_default(config)
merged = deep_merge(@settings, config)
deep_diff(@settings, merged) unless @loaded_files.empty?
@settings = merged
end