Sha256: 5619fcf487fef2389a0c96af9a2eff13b24056dd3711b7287b8ce8f6a6b72cab

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

module Fog
  module Libvirt
    class Compute
      module Shared
        def update_autostart(uuid, value)
          domain = client.lookup_domain_by_uuid(uuid)
          domain.autostart = value
        end
      end

      class Real
        include Shared
      end

      class Mock
        include Shared
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-libvirt-0.13.2 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.13.1 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.13.0 lib/fog/libvirt/requests/compute/update_autostart.rb