Sha256: 49b39eeb17e897a0f6e652ede892480d8c5b128a008d76fb51f65d31a5d7bd35
Contents?: true
Size: 680 Bytes
Versions: 12
Compression:
Stored size: 680 Bytes
Contents
module Fog module Compute class Ovirt class Real def deactivate_volume(id, options) raise ArgumentError, "instance id is a required parameter" unless id raise ArgumentError, "volume id is a required parameter for deactivate-volume" unless options.key? :id client.deactivate_volume(id, options[:id]) end end class Mock def deactivate_volume(id, options) raise ArgumentError, "instance id is a required parameter" unless id raise ArgumentError, "volume id is a required parameter for deactivate-volume" unless options.key? :id true end end end end end
Version data entries
12 entries across 10 versions & 3 rubygems