Class: WerckerAPI::Run

Inherits:
Object
  • Object
show all
Defined in:
lib/wercker_api/run.rb

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" }

Instance Method Summary collapse

Instance Method Details

#commit_hashObject



41
42
43
# File 'lib/wercker_api/run.rb', line 41

def commit_hash
  commitHash
end

#created_atObject



45
46
47
# File 'lib/wercker_api/run.rb', line 45

def created_at
  createdAt
end

#env_varsObject



53
54
55
# File 'lib/wercker_api/run.rb', line 53

def env_vars
  envVars
end

#finished_atObject



49
50
51
# File 'lib/wercker_api/run.rb', line 49

def finished_at
  finishedAt
end

#source_runObject



37
38
39
# File 'lib/wercker_api/run.rb', line 37

def source_run
  sourceRun
end