Sha256: ce253ac3dd5a42dcba6982134119504b31c2a5d68a9e02d2d8fd89800033aa8b
Contents?: true
Size: 441 Bytes
Versions: 4
Compression:
Stored size: 441 Bytes
Contents
module Fog module Volume class HuaweiCloud module Real def update_snapshot_metadata(snapshot_id, metadata = {}) data = { 'metadata' => metadata } request( :body => Fog::JSON.encode(data), :expects => [200], :method => 'POST', :path => "snapshots/#{snapshot_id}/metadata" ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems