Class: WerckerAPI::Run
- Inherits:
-
Object
show all
- Defined in:
- lib/wercker_api/run.rb,
lib/wercker_api/run/step.rb,
lib/wercker_api/run/step_collection.rb
Defined Under Namespace
Classes: Step, StepCollection
Constant Summary
collapse
- INDEX =
-> (version) { "/api/#{version}/runs" }
- SHOW =
-> (version, run_id) { "/api/#{version}/runs/#{run_id}" }
- TRIGGER =
-> (version) { "/api/#{version}/runs" }
- ABORT =
-> (version, run_id) { "/api/#{version}/runs/#{run_id}/abort" }
- STEPS =
-> (version, run_id) { "/api/#{version}/runs/#{run_id}/steps" }
Instance Method Summary
collapse
Instance Method Details
#commit_hash ⇒ Object
42
43
44
|
# File 'lib/wercker_api/run.rb', line 42
def commit_hash
commitHash
end
|
#created_at ⇒ Object
46
47
48
|
# File 'lib/wercker_api/run.rb', line 46
def created_at
createdAt
end
|
#env_vars ⇒ Object
54
55
56
|
# File 'lib/wercker_api/run.rb', line 54
def env_vars
envVars
end
|
#finished_at ⇒ Object
50
51
52
|
# File 'lib/wercker_api/run.rb', line 50
def finished_at
finishedAt
end
|
#source_run ⇒ Object
38
39
40
|
# File 'lib/wercker_api/run.rb', line 38
def source_run
sourceRun
end
|