Sha256: 57e165c85d3beed47f8c5625083b06a11d37804b723314e02a6415c634d0e142
Contents?: true
Size: 550 Bytes
Versions: 61
Compression:
Stored size: 550 Bytes
Contents
require 'fog/core/model' require 'fog/hp/models/meta_parent' module Fog module Compute class HP class Meta < Fog::Model include Fog::Compute::HP::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
61 entries across 61 versions & 6 rubygems