def list_queues(prefix = "")
      response = action("ListQueues", "QueueNamePrefix" => "#{queue_prefix}#{prefix}")
      response.doc.xpath("//ListQueuesResult/QueueUrl").map(&:text).map do |url|
        Queue.new(self, url)
      end
    end
def list_queues(prefix = "")
      response = action("ListQueues", "QueueNamePrefix" => "#{queue_prefix}#{prefix}")
      response.doc.xpath("//ListQueuesResult/QueueUrl").map(&:text).map do |url|
        Queue.new(self, url)
      end
    end
Return an array of Queue objects representing the queues found in SQS. An
 optional prefix can be supplied to restrict the queues found. This prefix
 is additional to the client prefix.

 @param [String] prefix option prefix to restrict the queues found.
 @return [Array<Queue>] queue objects found.
 @raise [AwsActionError]

 @example Delete all the queues

   client.list_queues.each do |queue|
     queue.delete
   end