Sha256: bead8b3ace0f4fb36dcd8f556d0c57dc3a54d871bcffb8b3450f2505770d3cf9
Contents?: true
Size: 597 Bytes
Versions: 28
Compression:
Stored size: 597 Bytes
Contents
module Fog module Compute class Cloudstack class Real # revert a volume snapshot. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/revertSnapshot.html] def revert_snapshot(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'revertSnapshot') else options.merge!('command' => 'revertSnapshot', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems