Skip to content

Conversation

@mreq
Copy link

@mreq mreq commented May 19, 2023

Set values to nil when not present in XML.

Steps to reproduce (before applying this fix):

vat_paying_subject = RubyARES::Subject.get(27074358)
non_vat_subject = RubyARES::Subject.get(non_vat_number)

vat_paying_subject.dic == non_vat_subject.dic
=> true

Previously, subsequent calls would keep the values of previous calls when not present in new XML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant