# File lib/cloudfiles/connection.rb, line 191 def containers_detail(limit = nil, marker = nil) begin response = SwiftClient.get_account(storageurl, self.authtoken, marker, limit) Hash[*response[1].collect{|c| [c['name'], {:bytes => c['bytes'], :count => c['count']}]}.flatten] rescue ClientException => e raise CloudFiles::Exception::InvalidResponse, "Invalid response code #{e.status.to_s}" unless (e.status.to_s == "200") end end