Sha256: 47e0908847f8a271a1272f78450d22fa796860b8eaf54a789234dae374b8fc4e
Contents?: true
Size: 713 Bytes
Versions: 6
Compression:
Stored size: 713 Bytes
Contents
module Fog module Ovirt class Compute 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
6 entries across 6 versions & 1 rubygems