Class: Ask::CodingHarness::Runner::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/ask/coding_harness/runner.rb

Overview

Outcome of a headless run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#conversation_idObject (readonly)

Returns the value of attribute conversation_id

Returns:

  • (Object)

    the current value of conversation_id



13
14
15
# File 'lib/ask/coding_harness/runner.rb', line 13

def conversation_id
  @conversation_id
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



13
14
15
# File 'lib/ask/coding_harness/runner.rb', line 13

def error
  @error
end

#eventsObject (readonly)

Returns the value of attribute events

Returns:

  • (Object)

    the current value of events



13
14
15
# File 'lib/ask/coding_harness/runner.rb', line 13

def events
  @events
end

#responseObject (readonly)

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



13
14
15
# File 'lib/ask/coding_harness/runner.rb', line 13

def response
  @response
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



13
14
15
# File 'lib/ask/coding_harness/runner.rb', line 13

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


14
# File 'lib/ask/coding_harness/runner.rb', line 14

def success? = success