class LabClient::Runner
Inspect Helper
Public Instance Methods
details()
click to toggle source
# File lib/labclient/runners/runner.rb, line 11 def details update_self client.runners.show(id) end
inspect()
click to toggle source
# File lib/labclient/runners/runner.rb, line 7 def inspect "#<Runner id: #{id}, status: #{status}>" end
jobs(query = {})
click to toggle source
# File lib/labclient/runners/runner.rb, line 19 def jobs(query = {}) client.runners.jobs(id, query) end
remove()
click to toggle source
# File lib/labclient/runners/runner.rb, line 15 def remove client.runners.remove(id) end
update(query)
click to toggle source
# File lib/labclient/runners/runner.rb, line 23 def update(query) update_self client.runners.update(id, query) end
verify()
click to toggle source
# File lib/labclient/runners/runner.rb, line 27 def verify details if token.nil? # Not included in List client.runners.verify(token) end