Class: Fog::Compute::RackspaceV2::Metadatum
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::RackspaceV2::Metadatum
- Includes:
- MetaParent
- Defined in:
- lib/fog/rackspace/models/compute_v2/metadatum.rb
Instance Method Summary collapse
-
#destroy ⇒ Boolean
Remove metadatum from server.
-
#save ⇒ Boolean
Save metadatum on server.
Methods included from MetaParent
#collection_name, #metas_to_hash, #parent, #parent=
Instance Method Details
#destroy ⇒ Boolean
Remove metadatum from server
19 20 21 22 23 |
# File 'lib/fog/rackspace/models/compute_v2/metadatum.rb', line 19 def destroy requires :identity service.(collection_name, parent.id, key) true end |
#save ⇒ Boolean
Save metadatum on server
31 32 33 34 35 |
# File 'lib/fog/rackspace/models/compute_v2/metadatum.rb', line 31 def save requires :identity, :value service.(collection_name, parent.id, key, value) true end |