lib/vwo/services/settings_file_processor.rb
# Processes the settings_file, assigns variation allocation range
Processes the settings_file, assigns variation allocation range
Processes the settings_file assigns variation allocation range
def process_settings_file
        (@settings_file['campaigns'] || []).each do |campaign|
          set_variation_allocation(campaign)
        end
        @logger.log(
          LogLevelEnum::DEBUG,
          format(LogMessageEnum::DebugMessages::SETTINGS_FILE_PROCESSED, file: FileNameEnum::SettingsFileProcessor)
        )
      end
def process_settings_file ( @settings_file [ 'campaigns' ] || [ ] ) . each do | campaign | set_variation_allocation ( campaign ) end @logger . log ( LogLevelEnum :: DEBUG , format ( LogMessageEnum :: DebugMessages :: SETTINGS_FILE_PROCESSED , file : FileNameEnum :: SettingsFileProcessor ) ) end
Processes the settings_file, assigns variation allocation range
Processes the settings_file assigns variation allocation range