class NCCConfidence::Builder::Test

Attributes

attributes[R]

Public Class Methods

make(&script) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 7
def make &script
        t = self.new
        t.instance_eval(&script)
        t.attributes["Format"] = 'JSON'
        t.attributes
end
new() click to toggle source
# File lib/nccconfidence/test_builder.rb, line 15
def initialize
        @attributes = {}
end

Public Instance Methods

account_id(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 19
def account_id value
        @attributes["AccountId"] = value
end
end_date(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 35
def end_date value
        @attributes["EndDate"] = value
end
end_time(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 39
def end_time value
        @attributes["EndTime"] = value
end
end_time_stamp(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 47
def end_time_stamp value
        @attributes["EndTimestamp"] = value
end
exclude_re_test(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 107
def exclude_re_test value
        @attributes["ExcludeRetest"] = value
end
format(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 111
def format value
        @attributes["Format"] = value
end
id(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 23
def id value
        @attributes["Id"] = value
end
kpi_max(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 95
def kpi_max value
        @attributes["KPIMax"] = value
end
kpi_min(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 91
def kpi_min value
        @attributes["KPIMin"] = value
end
limit_errors_closed(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 67
def limit_errors_closed value
        @attributes["LimitErrorsClosed"] = value
end
limit_errors_open(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 59
def limit_errors_open value
        @attributes["LimitErrorsOpen"] = value
end
limit_test_results(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 75
def limit_test_results value
        @attributes["LimitTestResults"] = value
end
offset_errors_closed(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 71
def offset_errors_closed value
        @attributes["OffsetErrorsClosed"] = value
end
offset_errors_open(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 63
def offset_errors_open value
        @attributes["OffsetErrorsOpen"] = value
end
offset_test_results(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 79
def offset_test_results value
        @attributes["OffsetTestResults"] = value
end
result_code(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 103
def result_code value
        @attributes["ResultCode"] = value
end
script_type(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 51
def script_type value
        @attributes["ScriptType"] = value
end
show_steps(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 55
def show_steps value
        @attributes["ShowSteps"] = value
end
start_date(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 27
def start_date value
        @attributes["StartDate"] = value
end
start_time(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 31
def start_time value
        @attributes["StartTime"] = value
end
start_timestamp(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 43
def start_timestamp value
        @attributes["StartTimestamp"] = value
end
status_code(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 99
def status_code value
        @attributes["StatusCode"] = value
end
up_time_max(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 87
def up_time_max value
        @attributes["UptimeMax"] = value
end
up_time_min(value) click to toggle source
# File lib/nccconfidence/test_builder.rb, line 83
def up_time_min value
        @attributes["UptimeMin"] = value
end