gotransverse-tract-api 0.18.0 → 0.18.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: f2413855c00e08135d0eacd4efaa66c5c0c3e7a6
4
- data.tar.gz: 88819a731ce17d5bd17f797bf94022e128caf118
3
+ metadata.gz: 82d733e0532547c60a4a39d5075f2c92524159b3
4
+ data.tar.gz: d25218afc1eeb786260093fb6d8852a0af7c89c8
5
5
  SHA512:
6
- metadata.gz: 846e2b2bbfdb74db2a21e6cd18a9ef4a359c60922cc68e34dd92089c72705b08ca581679191af322ea3c2d93e94ce05c8a302ed66d73508904e70f190a713227
7
- data.tar.gz: 422e723acc538b89bee81f69ccc6e22dad91ab2465a0fcb946552fb1b7f69cb24611b1e78d838bd2de88613cc377d9f151fa7003b6b23f9b1c5fe866594141c3
6
+ metadata.gz: e7a1637f455a95c215f69984c8814aeed9c8bd4ffcd9b1b9b83d9b381ba7e969b82242170e032a82b9cd36409e1e262707dcd49af18b7fa7df48e95497b27a91
7
+ data.tar.gz: c04341c0f340769addd5eeaabc587aa4d73ac33ae9e08dd9c5049cc0bf5238ffa1c7e175856b5564e173c8acd1e3f35011d9676bac6682bb28c89c584a909b53
@@ -273,6 +273,14 @@ module GoTransverseTractApi
273
273
  }
274
274
  }
275
275
  end
276
+
277
+ if order_item.has_key?(:parent_service_eid)
278
+ parent_service = {
279
+ attributes: {
280
+ eid: order_item[:parent_service_eid]
281
+ }
282
+ }
283
+ end
276
284
 
277
285
  # The parent orderItems may have child orderItems
278
286
  if order_item.has_key?(:order_items)
@@ -291,10 +299,10 @@ module GoTransverseTractApi
291
299
  onetimeProductPrice: order_item[:onetime_product_price].try(:[],0),
292
300
  quantity: order_item[:quantity],
293
301
  sequence: order_item[:sequence],
294
- parentServiceEid: order_item[:parent_service_eid],
295
302
  description: order_item[:description],
296
303
  eid: order_item[:eid]
297
304
  }.delete_if{|k,v| v.nil?},
305
+ parentService: parent_service,
298
306
  orderItemUsageRules: order_item_usage_rules,
299
307
  recurringProductPrice: Product::RecurringProductPrice.get_recurring_product_price(order_item[:recurring_product_price]),
300
308
  onetimeProductPrice: onetime_product_price,
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.18.0"
3
+ VERSION = "0.18.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.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance