class Daino::Clients::Job
Public Instance Methods
artifacts(id)
click to toggle source
# File lib/daino/clients/job.rb, line 22 def artifacts(id) get("/api/job/#{id}/artifacts") { |json| json } end
delete_by_id(id)
click to toggle source
# File lib/daino/clients/job.rb, line 26 def delete_by_id(id) delete("/api/job/#{id}") { |json| json } end
get_by_id(id)
click to toggle source
# File lib/daino/clients/job.rb, line 14 def get_by_id(id) get("/api/job/#{id}") { |json| json } end
list(range: "all")
click to toggle source
# File lib/daino/clients/job.rb, line 6 def list(range: "all") search({}, range: range) end
report(id)
click to toggle source
# File lib/daino/clients/job.rb, line 18 def report(id) get("/api/job/#{id}/report") { |json| json } end
search(attributes, range: "all")
click to toggle source
# File lib/daino/clients/job.rb, line 10 def search(attributes, range: "all") post("/api/job/_search", attributes, range: range) { |json| json } end