Sha256: b2aadfc91455e6135ae4976b2715e4652c52b6e15ee8a99b9692d4703511e75b
Contents?: true
Size: 666 Bytes
Versions: 4
Compression:
Stored size: 666 Bytes
Contents
module Fog module Storage class HuaweiCloud 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::HuaweiCloud.escape(container)}/#{Fog::HuaweiCloud.escape(object)}" } if block_given? params[:response_block] = block end request(params, false) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems