We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 320377b commit 81ff8aeCopy full SHA for 81ff8ae
lib/netsuite/records/record_ref.rb
@@ -15,7 +15,7 @@ def initialize(attributes_or_record = {})
15
attributes.delete(:"@xmlns:platform_core")
16
@internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
17
@external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
18
- @type = attributes.delete(:type) || attributes.delete(:@type)
+ @type = attributes.delete(:type) || attributes.delete(:@type) || attributes.delete(:"@xsi:type")
19
@attributes = attributes
20
else
21
record = attributes_or_record
0 commit comments