sapoci 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sapoci/item.rb +2 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11037deb2a5904bc2b8a3103a09776374045fe0f0de830fdf946ed28cc31b166
4
- data.tar.gz: 0426cadb39fc21891c2fd2187b9d3757af0ba571d295191f2203c516908a30fb
3
+ metadata.gz: 2d1cc330a07464884e5c00cc6e73cf47b60154eaf3b9f2bdad12d68619b17885
4
+ data.tar.gz: 1475ce80de9ec64204a4b1c1c901ecb2f6e4332915d058edab2391535e168870
5
5
  SHA512:
6
- metadata.gz: bdaaebfbadd35c9ac7c621869758ead3eb96fec20d1e07678e1b7684af9133c33e5230bbd9b9b1e66f836b47beed595c89aaa1271da449f4cf9c0bd17e43b62e
7
- data.tar.gz: 695433b2ad6a6f3925c52413ec34256c9be1d225dab6662fa549be159da0f177a8b4da2531dfa510600284fdb613ec792ae9913e5e0dc4332ff3042138133799
6
+ metadata.gz: cf694cd8cb10aa1c4431c2781989615ef3485bc40293f304fc3e6f3c30cbbf1b3a684bef47abce1b61c5d9fa6eeeba06e429180ab5d4248d6aad39696a313a92
7
+ data.tar.gz: 6bdcc6176debb58d85548a89c302450488cf9988fda4f266acbd8ffa89148ee85692b97f1fbfd152b8c8c2358c6beb3a5cc45b1f7e0e1bfd490cf692893154e9
@@ -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.0
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-03-30 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler