Sha256: 31e6009cf3dceac3535a53bf826f1e3c30f1867b3a427ddd74cfa1e7d3da95d3
Contents?: true
Size: 446 Bytes
Versions: 15
Compression:
Stored size: 446 Bytes
Contents
module Fog module Volume class OpenStack module Real def restore_backup(backup_id, volume_id = nil, name = nil) data = {'restore' => {'volume_id' => volume_id, 'name' => name}} request( :expects => 202, :method => 'POST', :path => "backups/#{backup_id}/restore", :body => Fog::JSON.encode(data) ) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems