Merge pull request #10844 from tchak/change-rnf-api-endpoint
fix(rnf): change RNF api endpoint
This commit is contained in:
commit
b6aac5f80b
3 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Champs::RNFChamp < Champ
|
class Champs::RNFChamp < Champ
|
||||||
store_accessor :data, :title, :email, :phone, :createdAt, :updatedAt, :dissolvedAt, :address, :status
|
store_accessor :data, :title, :email, :phone, :createdAt, :updatedAt, :dissolvedAt, :address
|
||||||
|
|
||||||
def rnf_id
|
def rnf_id
|
||||||
external_id&.gsub(/[[:space:]]/, '')
|
external_id&.gsub(/[[:space:]]/, '')
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
"regionName":{ "type": "string" },
|
"regionName":{ "type": "string" },
|
||||||
"regionCode":{ "type": "string" }
|
"regionCode":{ "type": "string" }
|
||||||
},
|
},
|
||||||
"status": { "type": ["string", "null"] },
|
|
||||||
"persons": { "type": "array" }
|
"persons": { "type": "array" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ API_GEO_URL = ENV.fetch("API_GEO_URL", "https://geo.api.gouv.fr")
|
||||||
API_PARTICULIER_URL = ENV.fetch("API_PARTICULIER_URL", "https://particulier.api.gouv.fr/api")
|
API_PARTICULIER_URL = ENV.fetch("API_PARTICULIER_URL", "https://particulier.api.gouv.fr/api")
|
||||||
API_TCHAP_URL = ENV.fetch("API_TCHAP_URL", "https://matrix.agent.tchap.gouv.fr/_matrix/identity/api/v1")
|
API_TCHAP_URL = ENV.fetch("API_TCHAP_URL", "https://matrix.agent.tchap.gouv.fr/_matrix/identity/api/v1")
|
||||||
API_COJO_URL = ENV.fetch("API_COJO_URL", nil)
|
API_COJO_URL = ENV.fetch("API_COJO_URL", nil)
|
||||||
API_RNF_URL = ENV.fetch("API_RNF_URL", "https://rnf.dso.numerique-interieur.com")
|
API_RNF_URL = ENV.fetch("API_RNF_URL", "https://rnf.apps.app1.numerique-interieur.com")
|
||||||
API_RECHERCHE_ENTREPRISE_URL = ENV.fetch("API_RECHERCHE_ENTREPRISE_URL", "https://recherche-entreprises.api.gouv.fr")
|
API_RECHERCHE_ENTREPRISE_URL = ENV.fetch("API_RECHERCHE_ENTREPRISE_URL", "https://recherche-entreprises.api.gouv.fr")
|
||||||
HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2")
|
HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2")
|
||||||
SENDINBLUE_API_URL = ENV.fetch("SENDINBLUE_API_URL", "https://in-automate.sendinblue.com/api/v2")
|
SENDINBLUE_API_URL = ENV.fetch("SENDINBLUE_API_URL", "https://in-automate.sendinblue.com/api/v2")
|
||||||
|
|
Loading…
Add table
Reference in a new issue