style(api particulier): harmonize pole emploi resource name constant
This commit is contained in:
parent
3d81d4b541
commit
115adbec70
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ class APIParticulier::API
|
|||
INTROSPECT_RESOURCE_NAME = "introspect"
|
||||
COMPOSITION_FAMILIALE_RESOURCE_NAME = "v2/composition-familiale"
|
||||
AVIS_IMPOSITION_RESOURCE_NAME = "v2/avis-imposition"
|
||||
SITUATION_POLE_EMPLOI = "v2/situations-pole-emploi"
|
||||
SITUATION_POLE_EMPLOI_RESOURCE_NAME = "v2/situations-pole-emploi"
|
||||
ETUDIANTS_RESOURCE_NAME = "v2/etudiants"
|
||||
|
||||
TIMEOUT = 20
|
||||
|
@ -32,7 +32,7 @@ class APIParticulier::API
|
|||
end
|
||||
|
||||
def situation_pole_emploi(identifiant)
|
||||
get(SITUATION_POLE_EMPLOI, identifiant: identifiant)
|
||||
get(SITUATION_POLE_EMPLOI_RESOURCE_NAME, identifiant: identifiant)
|
||||
end
|
||||
|
||||
def etudiants(ine)
|
||||
|
|
Loading…
Add table
Reference in a new issue