Make some api entreprise fields optional

This commit is contained in:
Paul Chavard 2021-01-26 14:32:34 +01:00
parent 03ddd17884
commit a26537c77d
3 changed files with 12 additions and 12 deletions

View file

@ -7,8 +7,8 @@ class Entreprise < Hashie::Dash
property :siren
property :capital_social
property :numero_tva_intracommunautaire
property :forme_juridique
property :forme_juridique_code
property :forme_juridique, default: nil
property :forme_juridique_code, default: nil
property :nom_commercial
property :raison_sociale
property :siret_siege_social
@ -19,8 +19,8 @@ class Entreprise < Hashie::Dash
property :effectif_annuel
property :effectif_annuel_annee
property :date_creation
property :nom
property :prenom
property :nom, default: nil
property :prenom, default: nil
property :inline_adresse
end