lib/iqvoc/configuration/instance_configuration.rb
# create or update a default setting
create or update a default setting
create or update a default setting
def register_setting(key, default_value)
        self.class.validate_value(default_value)
        @defaults[key] = default_value
        @settings[key] = @records[key] || default_value
      end
def register_setting ( key , default_value ) self . class . validate_value ( default_value ) @defaults [ key ] = default_value @settings [ key ] = @records [ key ] || default_value end
create or update a default setting
create or update a default setting
# update cache
key
<not_specific>
default_value
<not_specific>