Sha256: 0ba59743615719bb2457d9d8204cf54594cefda111e475ce6cf8f7dc003fe292
Contents?: true
Size: 681 Bytes
Versions: 21
Compression:
Stored size: 681 Bytes
Contents
module Fog module Brightbox class Storage 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) params = { :expects => 200, :method => "GET", :path => "#{Fog::Brightbox::Storage.escape(container)}/#{Fog::Brightbox::Storage.escape(object)}" } if block_given? params[:response_block] = block end request(params, false) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems