Sha256: 646713cf35c7529e8d92ac259476ccdced44e77700e7cbfd4cee6c7951b54701
Contents?: true
Size: 565 Bytes
Versions: 37
Compression:
Stored size: 565 Bytes
Contents
require 'fog/core/model' require 'fog/hp/models/compute_v2/meta_parent' module Fog module Compute class HPV2 class Meta < Fog::Model include Fog::Compute::HPV2::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
37 entries across 37 versions & 2 rubygems