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: clamav_service.rb
    path of file: ./repos/openproject/app/services/attachments
    
    the code of the file until where you have to start completion: #-- copyright
# OpenProject is an open source project management software.
# Copy
    
    def clamav_client_options(scan_mode, connection_target)
      case scan_mode
      when :clamav_socket
        { unix_socket: connection_target }
      when :clamav_host
        tcp_host, tcp_port = connection_target.split(':')
        { tcp_host:, tcp_port: }
      else
        raise ArgumentError.new("Unknown clamav scan mode #{scan_mode}")
      end