ws_cee_client 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71bf8358706098af4bd4670448f9e165b982fcb6
4
- data.tar.gz: d6e67552ac5c4c2fd6bda85b01d0320357f2a11f
3
+ metadata.gz: 1eaf2be19757e50c764db4f3c36e89d7a3dc0ecb
4
+ data.tar.gz: 1276e27a7d221610fbc9a4cb394eeca2637c7e4e
5
5
  SHA512:
6
- metadata.gz: 290f980249bcdb09340df9124cc976a411a1d6cb358837c0207295e4947a0ee60c0182e7e8bfb246d1a6a1b995cff232ad007b2077872872cdb3a62fd6c22d18
7
- data.tar.gz: 73d67c21515f7b2dbc9d71915b72e2e037a300162a97eba7bdb45b77c18cfed4cb30e1895b5b04ba393ff9375b4b29cccda91eae001f3d2c04452d6b21e3a016
6
+ metadata.gz: dea02b1ce1a7f4809191a59bcd2716abf03bceb2c58a1706e987c35e9a6cfed7b4b7a65d4a37aea27302a4b9bca4d4b129f4bd7eddb2b499ecdc62d2ee011680
7
+ data.tar.gz: 3e407691e92af886949c5d40df759090ec1a6af21c469c8f6ff79a56cb87bf96b38e4a48233413f85d06a084d3b23eb1baa253ad783014efaa14fedcc93e1186
@@ -1,3 +1,3 @@
1
1
  module WsCee
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
data/lib/ws_cee_client.rb CHANGED
@@ -17,13 +17,13 @@ module WsCee
17
17
  attr_reader :proxy
18
18
  attr_reader :savon
19
19
 
20
- def initialize(options)
20
+ def initialize(options={})
21
21
  @username = options[:username]
22
22
  @password = options[:password]
23
23
  @proxy = options[:proxy]
24
24
 
25
25
  @savon = Savon.client do
26
- wsdl options[:testing] ? WS_CEE_PRODUCTION_URL : WS_CEE_TESTING_URL
26
+ wsdl options[:testing] ? WS_CEE_TESTING_URL : WS_CEE_PRODUCTION_URL
27
27
  proxy @proxy if !@proxy.nil? && !@proxy.empty?
28
28
  end
29
29
  rescue *SAVON_ERRORS => e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ws_cee_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaromír Červenka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-23 00:00:00.000000000 Z
11
+ date: 2016-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon