class ScenarioLog

Attributes

endDate[RW]
executionLog[RW]
execution_method[RW]
featureId[RW]
featureName[RW]
host[RW]
outLineResult[RW]
result[RW]
scenarioId[RW]
scenarioName[RW]
startDate[RW]

Public Class Methods

new() click to toggle source
# File lib/logs/scenario_log.rb, line 5
def initialize
  @execution_method = "AUTOMATE"
  @outLineResult = []
end

Public Instance Methods

to_json(options={}) click to toggle source
# File lib/logs/scenario_log.rb, line 10
def to_json(options={})
  {'feature_id' => @featureId, 'feature_name' => @featureName, 'execution_method' => @execution_method,
   'result' => @result, 'start_date' => @startDate, 'end_date' => @endDate, 'execute_log' => @executionLog,
   'scenario_id' => @scenarioId, 'host' => @host}.to_json
end