Sha256: db9b4bcea2e06f32eaab3a93cbb7d25967e876a66736214288df8efe579e3f86

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

module Hetzner
  class API
    module Boot
      include Linux
      include Plesk
      include Rescue
      include VNC
      include Windows
      
      # lists boot options for a given IP address/server or all servers of the account
      def boot?(ip = nil)
        path = "/boot"
        path << "/#{ip}" if ip
        perform_get path
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hetzner-api-1.2.0 lib/hetzner/api/boot.rb
hetzner-api-1.1.0 lib/hetzner/api/boot.rb
hetzner-api-1.0.6 lib/hetzner/api/boot.rb
hetzner-api-1.0.5 lib/hetzner/api/boot.rb