rs.ge 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rs/requests/waybill.rb +2 -1
- data/lib/rs/version.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: c683cd43eaae9536612b4e14a3615f7c03532420
|
4
|
+
data.tar.gz: fb3d483c6d77113132c4b5b0d6086e29b3f3d7b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a7ea7e998651fb10cdcb4e34d65f91ce25aa7f8ee931e78bf006b875b5db43226d0e2c63901da4eb2e16508403e9a1fca5cc0fe921b41f75f7f95f0e6374e1f
|
7
|
+
data.tar.gz: 002e956eb196eef63e411cdd9e1ad6179cbfcb44fd89aebdb1d95d9a1451821eaa69e0458f10424ca5ca5338d714cd96e1d0ddfc021021c3f0c56ea1dc1ef534
|
data/lib/rs/requests/waybill.rb
CHANGED
@@ -62,7 +62,8 @@ module RS
|
|
62
62
|
response = waybill_client.request 'get_buyer_waybills' do
|
63
63
|
soap.body = message
|
64
64
|
end
|
65
|
-
waybill_data = response.to_hash[:get_buyer_waybills_response][:get_buyer_waybills_result][:waybill_list]
|
65
|
+
waybill_data = response.to_hash[:get_buyer_waybills_response][:get_buyer_waybills_result][:waybill_list]
|
66
|
+
waybill_data = waybill_data[:waybill] if waybill_data
|
66
67
|
extract_waybills(waybill_data)
|
67
68
|
end
|
68
69
|
|
data/lib/rs/version.rb
CHANGED