Class: Fog::Storage::HP::Meta

Inherits:
Model
  • Object
show all
Includes:
MetaParent
Defined in:
lib/fog/hp/models/storage/meta.rb

Instance Method Summary collapse

Methods included from MetaParent

#metas_to_hash, #parent, #parent=

Instance Method Details

#destroyObject



13
14
15
# File 'lib/fog/hp/models/storage/meta.rb', line 13

def destroy
  false
end

#saveObject



17
18
19
20
21
22
23
# File 'lib/fog/hp/models/storage/meta.rb', line 17

def save
  requires :identity, :value
  if @parent.key
    service.put_container(@parent.key, {key => value})
    true
  end
end