zanders 1.3 → 1.4

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
  SHA1:
3
- metadata.gz: fd75843666c1bba77be51401f2b1b214172c05c8
4
- data.tar.gz: 65444918af72520c0cfb12ac197c9ecabf2cfdaa
3
+ metadata.gz: adef73d9939b9fa6df6714cdf0615047c04ab921
4
+ data.tar.gz: 49cec177c254c057848b9431c783d031f637db6f
5
5
  SHA512:
6
- metadata.gz: 292bdcbf7934353ba533d82e27255429bc43d4b0713db8d44c68a93df44151a151389e057f072d5906ab82d6c7a09692f5e20b765d9334760285901a19a23fd8
7
- data.tar.gz: 2ee4ab3440981bdbfe0f8b385b1b1f6ef9c1aa2ec14aaa773e781b06e48a932f2d4ed1d9bd07d2bb556f2266e7bc6c63a14f1a450b355d5ebf195fe5fb31058a
6
+ metadata.gz: d11724ea604fef52ebfbc3a734ee825dedbaebf33dbf905bdfecc8386bad6d1a583522478830dbed44ad9ee408195eec147add82ba5e2a35617e2087a1905266
7
+ data.tar.gz: 84dce9f8c8c3816b5b472a00e6227d9e5ead2147c33a56527048aa44a6a7ddfcd26f2a2b77d93e75a6b0eb28e9ec42772d897267db7fba9f13d8a6f5f36a483e
data/lib/zanders/order.rb CHANGED
@@ -67,6 +67,8 @@ module Zanders
67
67
  else
68
68
  return { success: false, error_code: ship_to_number[:error_code] }
69
69
  end
70
+ elsif address == nil
71
+ shipping_information.push({key: 'shipToNo', value: '0001'})
70
72
  else
71
73
  shipping_information.push(*[
72
74
  { key: 'shipToAddress1', value: address[:address1] },
@@ -1,3 +1,3 @@
1
1
  module Zanders
2
- VERSION = "1.3"
2
+ VERSION = "1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zanders
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Knight
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-07 00:00:00.000000000 Z
11
+ date: 2017-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri