gotransverse-tract-api 0.14.0 → 0.15.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3747047d9067f773dc326918d902bc2a0c6288af
|
4
|
+
data.tar.gz: 73208d4e051fee1c7a277c49c7c5febb4af723af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4a3a20084987c5d168b24b50d9f6e818384f232decb27aa3e8277ef6baed1ad37cd5579723db2aa3f60323b1cf1a39f3b9a05c24881935f566f6ccbd72d95f6
|
7
|
+
data.tar.gz: 9e2b582598fed4ec0f83452234783a6fe9c9b9bc2391c1a27921a6305e020ab22a1037d6b9d804120ea2611b307f4160c30fc92c5487e30285e273e7cec6e41b
|
@@ -263,7 +263,7 @@ module GoTransverseTractApi
|
|
263
263
|
# We can add later this one as a separate class for getting all other attributes
|
264
264
|
onetime_product_price = {
|
265
265
|
attributes: {
|
266
|
-
eid: order_item[:onetime_product_price][:eid]
|
266
|
+
eid: order_item[:onetime_product_price][1][:eid]
|
267
267
|
}
|
268
268
|
}
|
269
269
|
end
|
@@ -275,7 +275,7 @@ module GoTransverseTractApi
|
|
275
275
|
requestedEffectiveDate: order_item[:requested_effective_date],
|
276
276
|
unitPrice: order_item[:unit_price],
|
277
277
|
recurringUnitPrice: order_item[:recurring_unit_price],
|
278
|
-
onetimeProductPrice: order_item[:
|
278
|
+
onetimeProductPrice: order_item[:onetime_product_price].try(:[],0),
|
279
279
|
quantity: order_item[:quantity],
|
280
280
|
sequence: order_item[:sequence],
|
281
281
|
description: order_item[:description],
|
@@ -248,14 +248,13 @@ module GoTransverseTractApi
|
|
248
248
|
order_items: {
|
249
249
|
order_item: [{
|
250
250
|
recurring_unit_price: '0.00',
|
251
|
-
one_time_product_price: '100.00',
|
252
251
|
quantity: '1',
|
253
252
|
sequence: '1',
|
254
253
|
description: 'dsfsgegebdbb',
|
255
254
|
product: { eid: '79' },
|
256
255
|
selected_agreement: { eid: '15' },
|
257
256
|
recurring_product_price: { eid: '174' },
|
258
|
-
onetime_product_price: { eid: '278' },
|
257
|
+
onetime_product_price: [100, { eid: '278' }],
|
259
258
|
custom_field_values: {
|
260
259
|
custom_field_value: {
|
261
260
|
value: 'JLS',
|
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.
|
4
|
+
version: 0.15.0
|
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-05-
|
12
|
+
date: 2016-05-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|