sapoci 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sapoci/item.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d1cc330a07464884e5c00cc6e73cf47b60154eaf3b9f2bdad12d68619b17885
|
4
|
+
data.tar.gz: 1475ce80de9ec64204a4b1c1c901ecb2f6e4332915d058edab2391535e168870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf694cd8cb10aa1c4431c2781989615ef3485bc40293f304fc3e6f3c30cbbf1b3a684bef47abce1b61c5d9fa6eeeba06e429180ab5d4248d6aad39696a313a92
|
7
|
+
data.tar.gz: 6bdcc6176debb58d85548a89c302450488cf9988fda4f266acbd8ffa89148ee85692b97f1fbfd152b8c8c2358c6beb3a5cc45b1f7e0e1bfd490cf692893154e9
|
data/lib/sapoci/item.rb
CHANGED
@@ -37,6 +37,7 @@ module SAPOCI
|
|
37
37
|
attr_accessor :tax_code
|
38
38
|
attr_accessor :sold_by
|
39
39
|
attr_accessor :fulfilled_by
|
40
|
+
attr_accessor :gtin
|
40
41
|
attr_accessor :cust_field1
|
41
42
|
attr_accessor :cust_field2
|
42
43
|
attr_accessor :cust_field3
|
@@ -200,6 +201,7 @@ module SAPOCI
|
|
200
201
|
html << hidden_field_tag("TAX_CODE", self.tax_code) unless self.tax_code.blank?
|
201
202
|
html << hidden_field_tag("SOLD_BY", self.sold_by) unless self.sold_by.blank?
|
202
203
|
html << hidden_field_tag("FULFILLED_BY", self.fulfilled_by) unless self.fulfilled_by.blank?
|
204
|
+
html << hidden_field_tag("GTIN", self.gtin) unless self.gtin.blank?
|
203
205
|
html << hidden_field_tag("CUST_FIELD1", self.cust_field1) unless self.cust_field1.blank?
|
204
206
|
html << hidden_field_tag("CUST_FIELD2", self.cust_field2) unless self.cust_field2.blank?
|
205
207
|
html << hidden_field_tag("CUST_FIELD3", self.cust_field3) unless self.cust_field3.blank?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sapoci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Eilhard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|