Methods

Files

Class/Module Index [+]

Quicksearch

Fog::Compute::VirtualBox::Servers

Public Instance Methods

all() click to toggle source
# File lib/fog/virtual_box/models/compute/servers.rb, line 12
def all
  data = connection.machines.map do |machine|
    {
      :raw => machine
    }
  end
  load(data)
end
bootstrap(new_attributes = {}) click to toggle source
# File lib/fog/virtual_box/models/compute/servers.rb, line 21
def bootstrap(new_attributes = {})
  raise 'Not Implemented'
  # server = create(new_attributes)
  # server.start
  # server.wait_for { ready? }
  # server.setup(:password => server.password)
  # server
end
get(server_id) click to toggle source
# File lib/fog/virtual_box/models/compute/servers.rb, line 30
def get(server_id)
  machine = connection.find_machine(server_id)
  new(:raw => machine)
rescue ::VirtualBox::Exceptions::ObjectNotFoundException
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.