rs.ge 0.1.7 → 0.1.8

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: 7cbef5c1a418b73e5e5ad907d96f8df8f7baf14e
4
- data.tar.gz: 24e83d6a07bf96835bf75ef1eb768f4c880f9347
3
+ metadata.gz: c683cd43eaae9536612b4e14a3615f7c03532420
4
+ data.tar.gz: fb3d483c6d77113132c4b5b0d6086e29b3f3d7b9
5
5
  SHA512:
6
- metadata.gz: b963482f324fda9ec7159cafdcf6292fe99a894da6871d1794a67aab186ec72878666776f4e24cc3b7ca01ccf48164f01053cd1cacaa61995f9466d01527610c
7
- data.tar.gz: 8d11ea84b08172274404c2c35580140aa6e4764f6e6e0f5b8611b3dffb2283f4bdbfaf532290d0227358b26167c43bc4ec676dc34637388f0a9b39a51edc1fb8
6
+ metadata.gz: 3a7ea7e998651fb10cdcb4e34d65f91ce25aa7f8ee931e78bf006b875b5db43226d0e2c63901da4eb2e16508403e9a1fca5cc0fe921b41f75f7f95f0e6374e1f
7
+ data.tar.gz: 002e956eb196eef63e411cdd9e1ad6179cbfcb44fd89aebdb1d95d9a1451821eaa69e0458f10424ca5ca5338d714cd96e1d0ddfc021021c3f0c56ea1dc1ef534
@@ -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][:waybill]
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
 
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module RS
3
- VERSION = '0.1.7'
3
+ VERSION = '0.1.8'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rs.ge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitri Kurashvili