Sha256: 0914c8d47ac67e05ae330a6b5575c9ae4b7aaed342f25fe615f549806f9dde40

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

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

      class Mock
        def update_autostart(uuid, value)
          value
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fog-libvirt-0.12.2 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.12.1 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.12.0 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.11.0 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.10.1 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.10.0 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-csem-0.9.0 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.9.0 lib/fog/libvirt/requests/compute/update_autostart.rb
fog-libvirt-0.8.0 lib/fog/libvirt/requests/compute/update_autostart.rb