class TutumNodes

Public Instance Methods

deploy(uuid) click to toggle source
# File lib/tutum_nodes.rb, line 22
def deploy(uuid)
  http_post(deploy_url(uuid))
end
deploy_url(uuid) click to toggle source
# File lib/tutum_nodes.rb, line 18
def deploy_url(uuid)
  "/node/#{uuid}/deploy/"
end
get(uuid) click to toggle source
# File lib/tutum_nodes.rb, line 14
def get(uuid)
  http_get(get_url(uuid))
end
get_url(uuid) click to toggle source
# File lib/tutum_nodes.rb, line 10
def get_url(uuid)
  "/node/#{uuid}/"
end
list(params={}) click to toggle source
# File lib/tutum_nodes.rb, line 6
def list(params={})
  http_get(list_url, params)
end
list_url() click to toggle source
# File lib/tutum_nodes.rb, line 2
def list_url
  "/node/"
end
terminate(uuid) click to toggle source
# File lib/tutum_nodes.rb, line 30
def terminate(uuid)
  http_delete(terminate_url(uuid))
end
terminate_url(uuid) click to toggle source
# File lib/tutum_nodes.rb, line 26
def terminate_url(uuid)
  "/node/#{uuid}/"
end