gotransverse-tract-api 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2629c94f225f8cfd2116c91d7c090be1d1dd3921
4
- data.tar.gz: d0b8b6df786d7b947224b2e9c490c803aa6a3c12
3
+ metadata.gz: 629fbb29593de4e0b5dcb20425b46be7212c6d42
4
+ data.tar.gz: 4a9bc01c79cab95aac20fb72fcb6b60ddbc88ac5
5
5
  SHA512:
6
- metadata.gz: 517b7b16a41eba9210cadcd73893320869fdbde9a266716fc22638e7f3b270c49ad0e8c858895338b61bfc7d07802a2dadb9897d0f4787912ab3d22844dd5d6d
7
- data.tar.gz: d941e6f54d0a2647eabab0635448bc105a532d358b37375475ea48b81c73deecb97d6300bf6550216e3471bf8107e6a52ee9f972291eeb7fce2308d420724c89
6
+ metadata.gz: 6dedba363f8df2e6c1f08e22a6c90a80bc17982e88510f24d30dc16dd9f92e5b3e01004de07128e369b3577bfadeba8ff775527bc87f462f4126a62d77a2ff21
7
+ data.tar.gz: 5875287dd99bffa326c666fb2b81be42594c8fe8cbb96a95455b9d17288a229d256dc71743c7fb69ab969ad7ae0273c666899584cf170d447bbe3902356f019e
@@ -74,6 +74,10 @@ module GoTransverseTractApi
74
74
  def get_order_items(order_items)
75
75
  order_item_struct = []
76
76
 
77
+ if order_items.is_a?(Hash)
78
+ return Order::OrderItem.get_order_item(order_items)
79
+ end
80
+
77
81
  order_items.each do|item|
78
82
  order_item_struct << {
79
83
  orderItem: Order::OrderItem.get_order_item(item)
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  TARGET_API_VERSION = "1.29"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotransverse-tract-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-05 00:00:00.000000000 Z
12
+ date: 2016-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler