omniva-api 0.0.2 → 0.0.3

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: ad1e1fb4ae8473f959f09bd324d5274aefb3a1e7
4
- data.tar.gz: 3cc96aa2d98e089612b26418aee0c9dea02eb34d
3
+ metadata.gz: ba3e1c8220317bc3a6f9c151d079d62e28d91798
4
+ data.tar.gz: f080f4240e5304e305b682861bdbe4578221dca4
5
5
  SHA512:
6
- metadata.gz: 8eacbdaf736095926c3ef53a3333809a94167bf518419e3fb52786088b9f231216d3401c29164655b8a7bb81caad7df7f98319c6451700996af22e8e41aaba43
7
- data.tar.gz: f5341793d43c0aab2a3dc432fad5d0cb19acfaa24c1d35d621c236fd6e26b587d4e3c60c2f558cd08401b37bea671cf59e37a670c4bddabcfc465b37429432aa
6
+ metadata.gz: a18261559e2b9379e5f076d372a0ddc37d26ec7ac3ddddf63e9dfc06370ea22e97c5c7c9056b22f73ebe18cbf6385dfbca757ea9583f5915fad78bfa5753b642
7
+ data.tar.gz: 2ac6389f54537fc4cb199cd9c19d32b3521449d8a20e81888da89e7f04c12b51b09cc08df39373bfed3ce96eae9c22a039a0ef399018de919f3e63e885b4b0a4
@@ -14,6 +14,8 @@ module Omniva
14
14
  auth = { authPhrase: Omniva::API.config[:key] }
15
15
  response = client.call :single_address1, attributes: auth, message: data
16
16
  parse_response(response)
17
+ rescue Savon::SOAPFault
18
+ nil
17
19
  end
18
20
 
19
21
  def self.validate_config
@@ -1,5 +1,5 @@
1
1
  module Omniva
2
2
  module API
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniva-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav Gorski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon