mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
330a351ade
Done with `rubocop --auto-correct --only TrailingBlankLines`
17 lines
355 B
Ruby
17 lines
355 B
Ruby
module Fog
|
|
module Compute
|
|
class Vsphere
|
|
class Real
|
|
def set_vm_customvalue(vm_id, key, value)
|
|
vm_ref = get_vm_ref(vm_id)
|
|
vm_ref.setCustomValue(:key => key, :value => value)
|
|
end
|
|
end
|
|
class Mock
|
|
def set_vm_customvalue(vm_id, key, value)
|
|
nil
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|