Module: Hetzner::API::Boot
- Included in:
- Hetzner::API
- Defined in:
- lib/hetzner/api/boot.rb,
lib/hetzner/api/boot/vnc.rb,
lib/hetzner/api/boot/linux.rb,
lib/hetzner/api/boot/plesk.rb,
lib/hetzner/api/boot/rescue.rb,
lib/hetzner/api/boot/windows.rb
Defined Under Namespace
Modules: Linux, Plesk, Rescue, VNC, Windows
Instance Method Summary collapse
-
#boot?(ip = nil) ⇒ Boolean
lists boot options for a given IP address/server or all servers of the account.
Methods included from Windows
#boot_windows!, #boot_windows?, #disable_boot_windows!
Methods included from VNC
#boot_vnc!, #boot_vnc?, #disable_boot_vnc!
Methods included from Rescue
#disable_rescue!, #enable_rescue!
Methods included from Plesk
#boot_plesk!, #boot_plesk?, #disable_boot_plesk!
Methods included from Linux
#boot_linux!, #boot_linux?, #disable_boot_linux!
Instance Method Details
#boot?(ip = nil) ⇒ Boolean
lists boot options for a given IP address/server or all servers of the account
11 12 13 14 15 |
# File 'lib/hetzner/api/boot.rb', line 11 def boot?(ip = nil) path = "/boot" path << "/#{ip}" if ip perform_get path end |