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 +4 -4
- data/lib/gotransverse-tract-api/api_data.rb +4 -0
- data/lib/gotransverse-tract-api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 629fbb29593de4e0b5dcb20425b46be7212c6d42
|
4
|
+
data.tar.gz: 4a9bc01c79cab95aac20fb72fcb6b60ddbc88ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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-
|
12
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|