Class: Fog::Compute::OpenStack::Metadatum
- Inherits:
-
OpenStack::Model
- Object
- Model
- OpenStack::Model
- Fog::Compute::OpenStack::Metadatum
- Includes:
- MetaParent
- Defined in:
- lib/fog/compute/openstack/models/metadatum.rb
Instance Attribute Summary
Attributes inherited from OpenStack::Model
Instance Method Summary collapse
Methods included from MetaParent
#collection_name, #metas_to_hash, #parent, #parent=
Methods inherited from OpenStack::Model
Constructor Details
This class inherits a constructor from Fog::OpenStack::Model
Instance Method Details
#destroy ⇒ Object
13 14 15 16 17 |
# File 'lib/fog/compute/openstack/models/metadatum.rb', line 13 def destroy requires :identity service.(collection_name, @parent.id, key) true end |
#save ⇒ Object
19 20 21 22 23 |
# File 'lib/fog/compute/openstack/models/metadatum.rb', line 19 def save requires :identity, :value service.(collection_name, @parent.id, key, value) true end |