netsuite 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -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] ||= {}
@@ -1,3 +1,3 @@
1
1
  module Netsuite
2
- VERSION = '0.0.13'
2
+ VERSION = '0.0.14'
3
3
  end
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: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Moran