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