Sha256: b655379eeace0a922b6b4e9771ca995c93a4345a16f612ed2a8a614d44451877
Contents?: true
Size: 688 Bytes
Versions: 6
Compression:
Stored size: 688 Bytes
Contents
module Fog module Storage class OpenStack class Real # Create a new object # # ==== Parameters # * container<~String> - Name for container, should be < 256 bytes and must not contain '/' # * object<~String> - Name for object # def put_object_manifest(container, object, extra_headers = {}) path = "#{Fog::OpenStack.escape(container)}/#{Fog::OpenStack.escape(object)}" request( :expects => 201, :headers => {'X-Object-Manifest' => path}.merge(extra_headers), :method => 'PUT', :path => path ) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems