mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
Add our own address to include `region`, currently not supported
by the DFC connector.
`region` is already included in the next branch of data-model-uml:
729eba31a5
To me removed once the DFC connector is updated
16 lines
335 B
Ruby
16 lines
335 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Load the DFC Connector:
|
|
require "datafoodconsortium/connector"
|
|
|
|
# Our Rails engine
|
|
require "dfc_provider/engine"
|
|
|
|
# Custom data types
|
|
require "dfc_provider/supplied_product"
|
|
require "dfc_provider/address"
|
|
|
|
module DfcProvider
|
|
DataFoodConsortium::Connector::Importer.register_type(SuppliedProduct)
|
|
end
|