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