lib/mutx/results/result.rb in mutx-0.1.38 vs lib/mutx/results/result.rb in mutx-0.1.39

- old
+ new

@@ -33,13 +33,13 @@ :console_output, :application, :gui_task, :regex, :value_for_regex, - :result_value + :result_value, + :notified - def initialize data_for_result Mutx::Support::Log.debug "Result.new => data_for_result => #{data_for_result}" if Mutx::Support::Log if data_for_result["_id"] # It comes from mongo because there is a result id @id = data_for_result["_id"] @@ -71,10 +71,11 @@ @result_value = "none" # by default @console_output = "" @last_check_time = now_in_seconds @execution_data = {} @configuration_values = Mutx::Database::MongoConnector.configuration + @notified = "no" create_output_dir end end def load_values data @@ -118,10 +119,11 @@ "last_check_time" => last_check_time, "execution_data" => execution_data, "configuration_values" => configuration_values, "regex" => regex, "value_for_regex" => value_for_regex, - "result_value" => result_value + "result_value" => result_value, + "notified" => notified } end def has_started_message? !@started_message.nil? \ No newline at end of file