rolled back model changes

This commit is contained in:
dinsmol 2021-07-21 09:49:37 +03:00
parent cbfe2704b6
commit 8fb8830dd0

View file

@ -172,9 +172,9 @@ module Depp
end
def update_attributes(params)
self.ident_country_code ||= params[:ident_country_code]
self.ident_type ||= params[:ident_type]
self.ident ||= params[:ident]
self.ident_country_code = params[:ident_country_code]
self.ident_type = params[:ident_type]
self.ident = params[:ident]
self.name = params[:name]
self.email = params[:email]