You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lookup_shared_device_users.rb
    path of file: ./repos/identity-idp/lib/data_requests/deployed
    
    the code of the file until where you have to start completion: module DataRequests
  module Deployed
    ##
    # This class iteratively looks up 
    
      def call
        depth.times do |i|
          warn "Searching at depth #{i}"
          self.device_cookie_uuids += Device.where(user_id: user_ids).pluck(:cookie_uuid)
          self.user_ids += Device.where(cookie_uuid: device_cookie_uuids).pluck(:user_id)
        end
        User.where(id: user_ids).all
      end