lib/ods_wrapper/data/siret.rb in ods_wrapper-1.0.4 vs lib/ods_wrapper/data/siret.rb in ods_wrapper-1.1.0
- old
+ new
@@ -74,17 +74,19 @@
address = fields.dig('adresseetablissement')
zipcode = fields.dig('codepostaletablissement')
city = fields.dig('libellecommuneetablissement')
siret = fields.dig('siret')
ape = fields.dig('activiteprincipaleunitelegale').gsub('.', '')
+ geo = fields.dig('geolocetablissement')
response.push({
name: name,
address: address,
zipcode: zipcode,
city: city,
siret: siret,
- ape: ape
+ ape: ape,
+ geo: geo
})
end
return response
end