netsuite 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/netsuite/support/records.rb +5 -0
- data/lib/netsuite/version.rb +1 -1
- metadata +3 -3
@@ -16,6 +16,11 @@ module NetSuite
|
|
16
16
|
hash[:attributes!][kname] ||= {}
|
17
17
|
hash[:attributes!][kname]['internalId'] = v.internal_id
|
18
18
|
end
|
19
|
+
if v.respond_to?(:external_id) && v.external_id
|
20
|
+
hash[:attributes!] ||= {}
|
21
|
+
hash[:attributes!][kname] ||= {}
|
22
|
+
hash[:attributes!][kname]['externalId'] = v.external_id
|
23
|
+
end
|
19
24
|
if v.kind_of?(NetSuite::Records::RecordRef) && v.type
|
20
25
|
hash[:attributes!] ||= {}
|
21
26
|
hash[:attributes!][kname] ||= {}
|
data/lib/netsuite/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netsuite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 14
|
10
|
+
version: 0.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Moran
|