Class: TestRescueAgent::TestRescueClient::FileRun
- Inherits:
-
Object
- Object
- TestRescueAgent::TestRescueClient::FileRun
- Defined in:
- lib/test_rescue_agent/test_rescue_client/file_run.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#suite_run_id ⇒ Object
readonly
Returns the value of attribute suite_run_id.
-
#test_file_id ⇒ Object
readonly
Returns the value of attribute test_file_id.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
- #create_test_run(attributes) ⇒ Object
-
#initialize(client, attributes = {}) ⇒ FileRun
constructor
A new instance of FileRun.
Constructor Details
#initialize(client, attributes = {}) ⇒ FileRun
Returns a new instance of FileRun.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 6 def initialize(client, attributes={}) @client = client @id = attributes["id"] @path = attributes["path"] @description = attributes["description"] @suite_run_id = attributes["suite_run_id"] @test_file_id = attributes["test_file_id"] @created_at = attributes["created_at"] @updated_at = attributes["updated_at"] @command = attributes["command"] end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 4 def command @command end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_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/file_run.rb', line 4 def description @description end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 4 def id @id end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 4 def path @path end |
#suite_run_id ⇒ Object (readonly)
Returns the value of attribute suite_run_id.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 4 def suite_run_id @suite_run_id end |
#test_file_id ⇒ Object (readonly)
Returns the value of attribute test_file_id.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 4 def test_file_id @test_file_id end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 4 def updated_at @updated_at end |
Instance Method Details
#create_test_run(attributes) ⇒ Object
18 19 20 |
# File 'lib/test_rescue_agent/test_rescue_client/file_run.rb', line 18 def create_test_run(attributes) @client.create_test_run(suite_run_id, id, attributes) end |