Module: Uv::Proxmox

Defined in:
lib/uv_proxmox.rb,
lib/uv_proxmox/connection.rb,
lib/uv_proxmox/virtual_machine.rb

Defined Under Namespace

Classes: Connection, VirtualMachine

Constant Summary collapse

@@commands =
[]
@@connection =
nil

Class Method Summary collapse

Class Method Details

.runObject

assign a connection first



24
25
26
27
28
# File 'lib/uv_proxmox.rb', line 24

def self.run
  self.commands.each do |cmd|
    puts self.connection.execute(cmd)
  end
end