Sha256: 9a6d159f86d774c2c4db2a8b0623a724260b38bf2c0f67316f8647297c92dd43
Contents?: true
Size: 749 Bytes
Versions: 33
Compression:
Stored size: 749 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) response end end class Mock def get_object(container, object) raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems