Sha256: b0f38c0f7a73c5f2d6a249edd688ac3df42ced5956f8ad281c99d7ff272159b5
Contents?: true
Size: 682 Bytes
Versions: 38
Compression:
Stored size: 682 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) Fog::Mock.not_implemented end end end end end
Version data entries
38 entries across 38 versions & 2 rubygems