Method: OpenStack::Swift::Container#metadata

Defined in:
lib/openstack/swift/container.rb,
lib/openstack/swift/container.rb

#metadataObject (readonly)

Returns the container’s metadata as a Hash, stripping off the X-Meta-Object- prefix that OpenStack prepends to the metadata key name.

object.metadata
=> {"ruby"=>"cool", "foo"=>"bar"}


34
35
36
# File 'lib/openstack/swift/container.rb', line 34

def 
  @metadata
end