# File lib/fog/joyent/models/compute/servers.rb, line 11 def all load(self.connection.list_machines().body) end
# File lib/fog/joyent/models/compute/servers.rb, line 22 def bootstrap # XXX TOXO end
# File lib/fog/joyent/models/compute/servers.rb, line 15 def create(params = {}) data = self.connection.create_machine(params).body server = new(data) server.wait_for { ready? } server end
# File lib/fog/joyent/models/compute/servers.rb, line 26 def get(machine_id) data = self.connection.get_machine(machine_id).body new(data) end