item_builder 0.1.49 → 0.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1421dc54be5e9e7fb14a672880d344f1bcb43c21d89ab88053698e99c87517c6
4
- data.tar.gz: c522e0c4f84d85bdf6e3a3b1a8c8b2806547de1493a66d3ea72d0c9e63fef4fd
3
+ metadata.gz: 85cdb400a2a96b3ec48a7c3595dc11cd6c98bab1c22057b603697482981496d8
4
+ data.tar.gz: a6f283e3c3670a6d190846c3b0951d8ef5847e5f5e17ca39789c1d2b65cf06eb
5
5
  SHA512:
6
- metadata.gz: 4b19e2cbba75d2071214591d15617f24ac8c40cdf41029f4b0e4cce3d1b1ccb2a5f4354a1fc2d0308caf490a2d065b500c9d092380f0c3e616cdb25c154bb917
7
- data.tar.gz: 61dfeadba2714e4f4322b7887d559d7cc12748e94cc6b8b31ed74e8aeda0e48f85c0297abb87821c252232839146c7a1ceeaf395c3783e629c90a8b60857a1e8
6
+ metadata.gz: 542f97bacef6a7cab57a646d9b919bc09b025eb893e6063095d644641469610436d82f6e6176b33fcb8808c65a6a19206f5dfe94ca00b9c6030622859d26e1bd
7
+ data.tar.gz: 416d6c22f105c24ea3e943fdef89495342fc2f654ba719bed64d2612480a4b9fcff9ed53ab6c96554886578a667a6eb5992d550a7bca7cfabb925ae4786cc387
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ItemBuilder
4
- VERSION = '0.1.49'
4
+ VERSION = '0.1.50'
5
5
  end
data/lib/item_builder.rb CHANGED
@@ -46,16 +46,16 @@ class ItemBuilder
46
46
  param =
47
47
  if listing.channel_id == 18
48
48
  qty_simple_params(listing)
49
- .merge(zilingo_quantity: @zilingo_quantity)
49
+ .merge(zilingo_quantity: zilingo_quantity)
50
50
  elsif listing.channel_id == 13
51
51
  qty_simple_params(listing)
52
- .merge(zalora_reserved_stock: @zalora_reserved_stock)
52
+ .merge(zalora_reserved_stock: zalora_reserved_stock)
53
53
  elsif listing.channel_id == 2
54
54
  qty_simple_params(listing)
55
- .merge({shopify_inventory_location: @shopify_inventory_location})
55
+ .merge({shopify_inventory_location: shopify_inventory_location})
56
56
  elsif listing.channel_id == 3
57
57
  qty_simple_params(listing)
58
- .merge({lazada_quantity: @lazada_quantity})
58
+ .merge({lazada_quantity: lazada_quantity})
59
59
  else
60
60
  qty_simple_params(listing)
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: item_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.49
4
+ version: 0.1.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - okaaryanata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-27 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler