Sha256: dbdfdee84df63320eb00384b02ee26562f0422c1a9a890efd6a8ba3c91a20bb9
Contents?: true
Size: 607 Bytes
Versions: 4
Compression:
Stored size: 607 Bytes
Contents
require 'fog/huaweicloud/models/model' require 'fog/huaweicloud/models/meta_parent' module Fog module Compute class HuaweiCloud class Metadatum < Fog::HuaweiCloud::Model include Fog::Compute::HuaweiCloud::MetaParent identity :key attribute :value def destroy requires :identity service.delete_meta(collection_name, @parent.id, key) true end def save requires :identity, :value service.update_meta(collection_name, @parent.id, key, value) true end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems