Sha256: ec0d60c42d25a35bafa4b010f9a7d7b6f46cef3b0483f71ecdfd2585a66919db
Contents?: true
Size: 711 Bytes
Versions: 46
Compression:
Stored size: 711 Bytes
Contents
module Fog module Rackspace module Files 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) raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
46 entries across 46 versions & 1 rubygems