1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00

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