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