Sha256: 2f032543ee32a911425f8e61f4586c2a9650cb7211f31d32ae83b952fbca6cea
Contents?: true
Size: 757 Bytes
Versions: 13
Compression:
Stored size: 757 Bytes
Contents
module Fog module Rackspace module Files class Real # Get details for object # # ==== Parameters # * container<~String> - Name of container to look in # * object<~String> - Name of object to look for # def get_object(container, object, &block) response = storage_request({ :block => block, :expects => 200, :method => 'GET', :path => "#{CGI.escape(container)}/#{CGI.escape(object)}" }, false, &block) response end end class Mock def get_object(container, object) raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems