Sha256: ca74028992a14e768141ee437d1edb956340c7f6eafc6c855f5647907242ff11
Contents?: true
Size: 671 Bytes
Versions: 7
Compression:
Stored size: 671 Bytes
Contents
module Fog module Compute class OpenStack class Real def create_volume_snapshot(volume_id, name, description, force=false) data = { 'snapshot' => { 'volume_id' => volume_id, 'display_name' => name, 'display_description' => description, 'force' => force } } request( :body => MultiJson.encode(data), :expects => [200, 202], :method => 'POST', :path => "os-snapshots" ) end end class Mock end end end end
Version data entries
7 entries across 7 versions & 4 rubygems