item_builder_mwh 0.1.30 → 0.1.31

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
  SHA256:
3
- metadata.gz: a7d9cbd0ff16d3f1b3ff9f1eec6bbe89304e1445fe3d2cd9ed0fa07e3884c6b1
4
- data.tar.gz: 874ff15f589f0b9de12af48badaabfc16dba5087796143f2b548080498f2c91f
3
+ metadata.gz: '05372970b369a4a3600e27649c65c533c3234ab4be22f6626ee54661bedcd148'
4
+ data.tar.gz: 32b67a281c340c239e6a6f2e2ec4a9906bab6bd1fd5d44661fc95691fa365277
5
5
  SHA512:
6
- metadata.gz: 556eb6eeb96fb7df53e15a03526de0a6f77377a6cd69c96e8bcc14e71491c863f16bf8ea8949eb61237d7ecf48f348156b1d495535de7d15cc6aba0914841928
7
- data.tar.gz: ba4db1fbf9de3ce57a444ee75d0b157093a85df642869e89094f78f3b7d0c41e7890149ca97e44d87a4bba5b9ca1e1d8a9b29f97fb6bc00ae7449678c7b3bc4f
6
+ metadata.gz: d9ccaca56ca1183b1bfa1943e88e0e14d5343949bd03004bb12f33533be31b1393b76594b64ad44cbd6b24a44622f7ba8978a6d07cd0709d94c7aa01d3b9f279
7
+ data.tar.gz: 77fecc6feb7ff0e039a7cdf5fd7f389d79defa10d956d7a6df93702f5ca4707478ecce991ca1683a3a124eb1f61f8d0af8ff787812f72bdb8854ac23c9f15c22
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ItemBuilderMwh
4
- VERSION = '0.1.30'
4
+ VERSION = '0.1.31'
5
5
  end
@@ -43,16 +43,16 @@ class ItemBuilderMwh
43
43
  param =
44
44
  if listing.channel_id == 18
45
45
  qty_simple_params(listing)
46
- .merge(zilingo_quantity: @zilingo_quantity)
46
+ .merge(zilingo_quantity: zilingo_quantity)
47
47
  elsif listing.channel_id == 13
48
48
  qty_simple_params(listing)
49
- .merge(zalora_reserved_stock: @zalora_reserved_stock)
49
+ .merge(zalora_reserved_stock: zalora_reserved_stock)
50
50
  elsif listing.channel_id == 2
51
51
  qty_simple_params(listing)
52
- .merge({shopify_inventory_location: @shopify_inventory_location})
52
+ .merge({shopify_inventory_location: shopify_inventory_location})
53
53
  elsif listing.channel_id == 3
54
54
  qty_simple_params(listing)
55
- .merge({lazada_quantity: @lazada_quantity})
55
+ .merge({lazada_quantity: lazada_quantity})
56
56
  else
57
57
  qty_simple_params(listing)
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: item_builder_mwh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Ivander
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