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