| Class | Fog::Storage::Rackspace::Metadata |
| In: |
lib/fog/rackspace/models/storage/metadata.rb
|
| Parent: | Object |
| OBJECT_META_PREFIX | = | "X-Object-Meta-" | ||
| OBJECT_REMOVE_META_PREFIX | = | "X-Remove-Object-Meta-" | ||
| CONTAINER_META_PREFIX | = | "X-Container-Meta-" | ||
| CONTAINER_REMOVE_META_PREFIX | = | "X-Remove-Container-Meta-" | ||
| DUMMY_VALUE | = | 1 | Cloud Files will ignore headers without a value | |
| CONTAINER_KEY_REGEX | = | /^#{CONTAINER_META_PREFIX}(.*)/ | ||
| OBJECT_KEY_REGEX | = | /^#{OBJECT_META_PREFIX}(.*)/ |
| data | [R] | @!attribute [rw] data @return [Hash] underlying data store for metadata class |
| parent | [R] | @!attribute [rw] parent @return [Fog::Storage::Rackspace::Directory,Fog::Storage::Rackspace::File] the parent object of the metadata |
Creates metadata object from Cloud File Headers @param [Fog::Storage::Rackspace::Directory,Fog::Storage::Rackspace::File] parent object of the metadata @param [Hash] headers Cloud File headers
Initialize @param [Fog::Storage::Rackspace::Directory,Fog::Storage::Rackspace::File] parent object of the metadata @param [Hash] hash containing initial metadata values
Retrieve specific value for key from Metadata.
@param [key] key @return [value]
Set value for key.
@param [key] key @return [String]
Returns true if method is implemented by Metadata class @param [Symbol] method_sym @param [Boolean] include_private