Sha256: 4f010bb7c0eac529c40c05ec5e5341d5096efbca3cf74b67b1852e02be2dc9ac
Contents?: true
Size: 713 Bytes
Versions: 15
Compression:
Stored size: 713 Bytes
Contents
module Fog module Compute class Ovirt class V3 class Real def attach_volume(id, options) raise ArgumentError, "instance id is a required parameter" unless id raise ArgumentError, "volume id is a required parameter for attach-volume" unless options.key? :id client.attach_volume(id, options[:id]) end end class Mock def attach_volume(id, options) raise ArgumentError, "instance id is a required parameter" unless id raise ArgumentError, "volume id is a required parameter for attach-volume" unless options.key? :id true end end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems