gun_accessory_supply 0.0.5 → 0.0.6
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 +4 -4
- data/lib/gun_accessory_supply/order.rb +1 -4
- data/lib/gun_accessory_supply/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c16419d71639d7b0f6501701a40de275cc70bb2c2378edef32455df9583c8c79
|
|
4
|
+
data.tar.gz: a898e1801aeee3f10c56942f056495b43d4f5158e38ceb1527244976c3daa533
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c618cc69e640ade4b40952af89e1176ee1d707e7c1e492d1eba2b247f7066a86551fb4bd9bf193242cc7d0c4df85108d2d865a51ce3a0b92b06ba7d54818da6
|
|
7
|
+
data.tar.gz: 1aaf391a4238b6be337b5d2b65cfb48085d29d875e9ada9769337f4f1ad942d072ad4ea57ecf220b5a2a9d68717bae0811502ff0d58dbeda5d450d9a5522ae67
|
|
@@ -73,28 +73,25 @@ module GunAccessorySupply
|
|
|
73
73
|
xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
|
|
74
74
|
xml.Identity GunAccessorySupply.config.xml_domain
|
|
75
75
|
xml.SharedSecret GunAccessorySupply.config.xml_secret
|
|
76
|
-
xml.OrderID @po_number
|
|
77
76
|
end
|
|
78
77
|
end
|
|
79
78
|
xml.To do
|
|
80
79
|
xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
|
|
81
80
|
xml.Identity GunAccessorySupply.config.xml_domain
|
|
82
81
|
xml.SharedSecret GunAccessorySupply.config.xml_secret
|
|
83
|
-
xml.OrderID @po_number
|
|
84
82
|
end
|
|
85
83
|
end
|
|
86
84
|
xml.Sender do
|
|
87
85
|
xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
|
|
88
86
|
xml.Identity GunAccessorySupply.config.xml_domain
|
|
89
87
|
xml.SharedSecret GunAccessorySupply.config.xml_secret
|
|
90
|
-
xml.OrderID @po_number
|
|
91
88
|
end
|
|
92
89
|
end
|
|
93
90
|
end
|
|
94
91
|
|
|
95
92
|
xml.Request do
|
|
96
93
|
xml.OrderRequest do
|
|
97
|
-
xml.OrderRequestHeader(orderDate: Time.now, type: 'new') do
|
|
94
|
+
xml.OrderRequestHeader(orderDate: Time.now, type: 'new', orderID: @po_number) do
|
|
98
95
|
xml.ShipTo do
|
|
99
96
|
xml.Address(addressID: @ship_to_id) do
|
|
100
97
|
xml.Name @recipient[:dealer_name]
|