Sha256: 696f3a1345ed899064a9f80ebabbd1689c3989ca5cd7b44f11904b672f1af753
Contents?: true
Size: 781 Bytes
Versions: 15
Compression:
Stored size: 781 Bytes
Contents
module Fog module Compute class Ovirt class V3 class Real def add_to_affinity_group(id, options = {}) raise ArgumentError, "instance id is a required parameter" unless id raise ArgumentError, "affinity group id is a required parameter for add-to-affinity-group" unless options.key? :id client.add_vm_to_affinity_group(options[:id], id) end end class Mock def add_to_affinity_group(id, options = {}) raise ArgumentError, "instance id is a required parameter" unless id raise ArgumentError, "affinity group id is a required parameter for add-to-affinity-group" unless options.key? :id true end end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems