gun_accessory_supply 0.0.3 → 0.0.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 +4 -4
- data/lib/gun_accessory_supply/order.rb +9 -9
- data/lib/gun_accessory_supply/version.rb +1 -1
- data/lib/gun_accessory_supply.rb +0 -3
- 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: 2cb360468009585d6c544174df5a98e085a8ff8504acd2af87d97d3f91d5e111
|
|
4
|
+
data.tar.gz: 8ffea43be565f45d76e1dd08b13ddc17fdf7555b01d84abc9bd4e32bd70ddb03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 714b1a759af4f27ed31aeb28caaee92abbac0e7f75cfe11b1563fe3df7ff9f68878516e8bec584940d8661e9abbec0869891ff7ec474bd9e320b7e97efeb6385
|
|
7
|
+
data.tar.gz: de7c514d94c2f18b1611db4a45af9da44b6169bdd662aeebedd42ab21783f6a084366333c4afbbf937f4a019accde79efb9a3e6135e269365fb9b0042bcad114
|
|
@@ -70,23 +70,23 @@ module GunAccessorySupply
|
|
|
70
70
|
xml.cXML(timestamp: Time.now) do
|
|
71
71
|
xml.Header do
|
|
72
72
|
xml.From do
|
|
73
|
-
xml.Credential(domain:
|
|
74
|
-
xml.Identity
|
|
75
|
-
xml.SharedSecret
|
|
73
|
+
xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
|
|
74
|
+
xml.Identity GunAccessorySupply.config.xml_domain
|
|
75
|
+
xml.SharedSecret GunAccessorySupply.config.xml_secret
|
|
76
76
|
xml.OrderID @po_number
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
xml.To do
|
|
80
|
-
xml.Credential(domain:
|
|
81
|
-
xml.Identity
|
|
82
|
-
xml.SharedSecret
|
|
80
|
+
xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
|
|
81
|
+
xml.Identity GunAccessorySupply.config.xml_domain
|
|
82
|
+
xml.SharedSecret GunAccessorySupply.config.xml_secret
|
|
83
83
|
xml.OrderID @po_number
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
86
|
xml.Sender do
|
|
87
|
-
xml.Credential(domain:
|
|
88
|
-
xml.Identity
|
|
89
|
-
xml.SharedSecret
|
|
87
|
+
xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
|
|
88
|
+
xml.Identity GunAccessorySupply.config.xml_domain
|
|
89
|
+
xml.SharedSecret GunAccessorySupply.config.xml_secret
|
|
90
90
|
xml.OrderID @po_number
|
|
91
91
|
end
|
|
92
92
|
end
|
data/lib/gun_accessory_supply.rb
CHANGED