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