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: db.rb
    path of file: ./repos/foreman/app/services/ipam
    
    the code of the file until where you have to start completion: module IPAM
  # Int
    
    def suggest_ip
      subnet_range.each do |address|
        ip = address.to_s
        if !excluded_ips.include?(ip) && !subnet.known_ips.include?(ip) && !is_ip_blocked?(ip)
          logger.debug("Found IP #{ip}, blocking it for the next #{block_ip_minutes} minutes")
          block_ip(ip)
          return ip
        end
      end