Sha256: 3910a2947e6c372a845b24874dc0221c480b17eb456bb042c783928228700539
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
module Holistics module Model class Job < Resource def logs(id, params = {}) status, body = @client.get("/jobs/#{id}/logs.json", { params: params }) handle_http_result(status, body) end def cancel(id, params = {}) status, body = @client.put("/jobs/#{id}/cancel.json", { params: params }) handle_http_result(status, body) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
holistics-cli-0.2.1 | lib/holistics/models/job.rb |
holistics-cli-0.2.0 | lib/holistics/models/job.rb |