class TestRescueAgent::TestRescueClient::FileRun

Attributes

command[R]
created_at[R]
description[R]
id[R]
path[R]
suite_run_id[R]
test_file_id[R]
updated_at[R]

Public Class Methods

new(client, attributes={}) click to toggle source
# 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

Public Instance Methods

create_test_run(attributes) click to toggle source
# 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