Sha256: f2105507ddd6a4873785dd15e0e09feeb115b5dfaf5b75475cc061063029e4d0
Contents?: true
Size: 683 Bytes
Versions: 14
Compression:
Stored size: 683 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 = storage_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
14 entries across 14 versions & 1 rubygems