# File lib/openstack/swift/container.rb, line 112 def objects(params = {}) path = "/#{@name.to_s}" path = (params.empty?)? path : OpenStack.get_query_params(params, [:limit, :marker, :prefix, :path, :delimiter], path) response = @swift.connection.req("GET", URI.encode(path)) OpenStack.symbolize_keys(JSON.parse(response.body)).inject([]){|res, cur| res << cur[:name]; res } end