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: enterprise_builder.rb
    path of file: ./repos/openfoodnetwork/engines/dfc_provider/app/services
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class EnterpriseBuilder < DfcBuilder
  def self.enterprise(enterprise) # rubocop:disable Metrics/AbcSize
    # The ABC size of this method should shr
    
  def self.enterprise_group(group)
    members = group.enterprises.map do |member|
      urls.enterprise_url(member.id)
    end

    DataFoodConsortium::Connector::Enterprise.new(
      urls.enterprise_group_url(group.id),
      name: group.name,
      description: group.description,
    ).tap do |enterprise|
      # This property has been agreed by the DFC but hasn't made it's way into
      # the Connector yet.
      enterprise.registerSemanticProperty("dfc-b:affiliatedBy") do
        members
      end
    end
  end