Module: Hetzner::API::Boot::Windows
- Included in:
- Hetzner::API::Boot
- Defined in:
- lib/hetzner/api/boot/windows.rb
Instance Method Summary collapse
Instance Method Details
#boot_windows!(ip, lang) ⇒ Object
10 11 12 13 |
# File 'lib/hetzner/api/boot/windows.rb', line 10 def boot_windows!(ip, lang) path = "/boot/#{ip}/windows" perform_post path, :query => { :lang => lang } end |
#boot_windows?(ip) ⇒ Boolean
5 6 7 8 |
# File 'lib/hetzner/api/boot/windows.rb', line 5 def boot_windows?(ip) path = "/boot/#{ip}/windows" perform_get path end |
#disable_boot_windows!(ip) ⇒ Object
15 16 17 18 |
# File 'lib/hetzner/api/boot/windows.rb', line 15 def disable_boot_windows!(ip) path = "/boot/#{ip}/windows" perform_delete path end |