Class: TestRescueAgent::TestRescueClient::TestRun
- Inherits:
-
Object
- Object
- TestRescueAgent::TestRescueClient::TestRun
- Defined in:
- lib/test_rescue_agent/test_rescue_client/test_run.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#failure_details ⇒ Object
readonly
Returns the value of attribute failure_details.
-
#file_run_id ⇒ Object
readonly
Returns the value of attribute file_run_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#test_id ⇒ Object
readonly
Returns the value of attribute test_id.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(client, attributes = {}) ⇒ TestRun
constructor
A new instance of TestRun.
Constructor Details
#initialize(client, attributes = {}) ⇒ TestRun
Returns a new instance of TestRun.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 6 def initialize(client, attributes={}) @client = client @id = attributes["id"] @file_run_id = attributes["file_run_id"] @test_id = attributes["test_id"] @description = attributes["description"] @location = attributes["location"] @result = attributes["result"] @failure_details = attributes["failure_details"] @created_at = attributes["created_at"] @updated_at = attributes["updated_at"] end |
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def created_at @created_at end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def description @description end |
#failure_details ⇒ Object (readonly)
Returns the value of attribute failure_details.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def failure_details @failure_details end |
#file_run_id ⇒ Object (readonly)
Returns the value of attribute file_run_id.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def file_run_id @file_run_id end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def id @id end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def location @location end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def result @result end |
#test_id ⇒ Object (readonly)
Returns the value of attribute test_id.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def test_id @test_id end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/test_run.rb', line 4 def updated_at @updated_at end |