mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
added updated method
This commit is contained in:
parent
b0ca5ddec0
commit
b0ed6167f5
2 changed files with 17 additions and 2 deletions
|
@ -20,8 +20,7 @@ class RegistrantUser < User
|
|||
def companies(company_register = CompanyRegister::Client.new)
|
||||
return [] if ident.include?('-')
|
||||
|
||||
p "++++++++++++++++++++++++++++++++++++++++"
|
||||
p company_register.representation_rights(citizen_personal_code: ident,
|
||||
company_register.representation_rights(citizen_personal_code: ident,
|
||||
citizen_country_code: country.alpha3)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue