sheepla 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sheepla/version.rb +1 -1
- data/lib/sheepla.rb +2 -2
- data/test/sheepla_test.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 415964e696284396c5bda42856c12c85cb27c63a
|
4
|
+
data.tar.gz: 17fa503cc4a902c9d9a118b8f7822d2ae5c0ef98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eb822b3fab82d2b84514ff8693a0f360f6e6f91154186e9fdc635300759ee19f8ae483314c2282a5c90e6c39cad50b1ff4f7b8e38f9513ffb6fa0dc447e9637
|
7
|
+
data.tar.gz: b819cad1f97bb11601b62b72c1dcfc1d97aa779d4874774259e8045dde9ffa791afe6ab9da941d41caa76a54cbbdb1e3b86cbb2ac07e922784501d120803afaa
|
data/lib/sheepla/version.rb
CHANGED
data/lib/sheepla.rb
CHANGED
@@ -85,7 +85,7 @@ module Sheepla
|
|
85
85
|
address = order.delete('deliveryAddress')
|
86
86
|
items = order.delete('orderItems')
|
87
87
|
options = order.delete('deliveryOptions')
|
88
|
-
|
88
|
+
|
89
89
|
body_wrapper('createOrderRequest') do |xml|
|
90
90
|
xml.orders do
|
91
91
|
xml.order do
|
@@ -158,7 +158,7 @@ module Sheepla
|
|
158
158
|
|
159
159
|
def validate_order(params)
|
160
160
|
params['orderValue'] &&
|
161
|
-
params['
|
161
|
+
params['orderValueCurrency'] &&
|
162
162
|
params['externalDeliveryTypeId'] &&
|
163
163
|
params['externalDeliveryTypeName'] &&
|
164
164
|
params['externalPaymentTypeId'] &&
|
data/test/sheepla_test.rb
CHANGED