Sha256: 6ee6e930a5218966460603aca54c99806ac632d429f10d74500ac675b286f0b6
Contents?: true
Size: 675 Bytes
Versions: 30
Compression:
Stored size: 675 Bytes
Contents
module Fog module Rackspace class Storage class Real # Get headers for object # # ==== Parameters # * container<~String> - Name of container to look in # * object<~String> - Name of object to look for # def head_object(container, object) response = request({ :expects => 200, :method => 'GET', :path => "#{CGI.escape(container)}/#{CGI.escape(object)}" }, false) response end end class Mock def head_object(container, object) Fog::Mock.not_implemented end end end end end
Version data entries
30 entries across 30 versions & 3 rubygems