Class/Module Index [+]

Quicksearch

Fog::Compute::Joyent::Servers

Public Instance Methods

all() click to toggle source
# File lib/fog/joyent/models/compute/servers.rb, line 11
def all
  load(service.list_machines().body)
end
bootstrap(new_attributes = {}) click to toggle source
# File lib/fog/joyent/models/compute/servers.rb, line 21
def bootstrap(new_attributes = {})
  server = create(new_attributes)
  server.wait_for { ready? }
  server
end
create(params = {}) click to toggle source
# File lib/fog/joyent/models/compute/servers.rb, line 15
def create(params = {})
  data = service.create_machine(params).body
  server = new(data)
  server
end
get(machine_id) click to toggle source
# File lib/fog/joyent/models/compute/servers.rb, line 27
def get(machine_id)
  data = service.get_machine(machine_id).body
  new(data)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.