netsuite 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmRiYjFkYTU4MTJhODQ5M2NlZmVhNTlhYmNiOTgwZDAxYzBhNmEwMQ==
4
+ NzlhZWFlM2M2MWNjZTg0OWYxYzc1NjIyYmE5ZDcxZjk1ZTBlOTQ3Zg==
5
5
  data.tar.gz: !binary |-
6
- MzE2Zjk5NmUzMjdjNjU3YmFjMTgyY2Y5ZDRkNTAwMmI5YmUzNWUwYg==
6
+ MGNiMWI4YTkzNjMzNWUzMzMyM2M4YjU0OTExOTg0YjhjN2MyMmRlNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDk0NzRlOTUxYjFiNmJlY2I2NmEzMTBkYTIxMWZkYjU0MjgxMTA2NjFjMTc5
10
- ZWM3NGIxMzU4MGE3YzhjOWQ5MjU4NTEwZmJiOTU1MGExNDIwNDJlMjFlZjI3
11
- OWZmZGEzNGJmMGE0ZTFhNGQzYjdhYmRmODAzNjAzZDE3MTJiYjg=
9
+ NzlmODk4MmI0YjMyNWQxNDA2ZTAxZWNkZjdiMzk5Yzg5Nzc2ZmZkM2UyOGMz
10
+ OGJjYzBhYmUxZTFiZTUyYzFiZGY3ZTk2NzYxMjVkZDIxZWM5ZGZkZWU1MzE3
11
+ ZmQ3OTUzYTJlM2JiNTQ4MDFiZjM1YzRhMGViOGRhZTQ0NTJjMDQ=
12
12
  data.tar.gz: !binary |-
13
- YjkzZjZlMzg1YTUzYmM0NGY3YWNhNGIxMWRlZWQ0ODVjODk4YmNlNGU3ZGI3
14
- OThhOTY1NDExMTAzNWVjZGRjZjhiYWYxZTdkYjY1MDEzODhhNzY1OWU0ZjI1
15
- YjlhOTVkYjM3OTgzZTY5ZWM3ZGZkNDg1MDhmYmRhZTY1ZDUwNGQ=
13
+ MWY4YzFlZDc3ODBlYTdhYjU0ODAwZWI2OTI4ZjU5NjQxMGFjYzYyZGNjZDcz
14
+ ZDU0N2M1Y2VkNTEzNzM2MWI1YzY2ODNjYWVmZTg2MWY1MmM1YTExN2E1MWJj
15
+ ZmFiMTBkM2QzZWU2NTFlZjE0NTRjMTJhYzVjM2Q1N2EzOTEwODU=
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ vendor/
@@ -223,14 +223,10 @@ module NetSuite
223
223
  @success ||= search_result[:status][:@is_success] == 'true'
224
224
  end
225
225
 
226
- # TODO need to figure out a way for the user to access this
227
- def errors
228
- error_obj = response_hash[:status][:status_detail]
229
- error_obj = [error_obj] if error_obj.class == Hash
230
- error_obj.map do |error|
231
- NetSuite::Error.new(error)
226
+ protected
227
+ def method_name
228
+
232
229
  end
233
- end
234
230
 
235
231
  module Support
236
232
  def self.included(base)
@@ -26,7 +26,7 @@ module NetSuite
26
26
  @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
27
27
  initialize_from_attributes_hash(attributes)
28
28
  end
29
-
29
+
30
30
  def self.search_class_name
31
31
  "Item"
32
32
  end
@@ -3,7 +3,7 @@ module NetSuite
3
3
  class InventoryAssignmentList
4
4
  include Support::Records
5
5
  include Support::Fields
6
- include Namespaces::TranInvt
6
+ include Namespaces::PlatformCommon
7
7
 
8
8
  fields :replace_all, :inventory_assignment
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Netsuite
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moran
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-21 00:00:00.000000000 Z
12
+ date: 2015-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon