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 +4 -4
- data/lib/ws_cee_client/version.rb +1 -1
- data/lib/ws_cee_client.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1eaf2be19757e50c764db4f3c36e89d7a3dc0ecb
|
4
|
+
data.tar.gz: 1276e27a7d221610fbc9a4cb394eeca2637c7e4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea02b1ce1a7f4809191a59bcd2716abf03bceb2c58a1706e987c35e9a6cfed7b4b7a65d4a37aea27302a4b9bca4d4b129f4bd7eddb2b499ecdc62d2ee011680
|
7
|
+
data.tar.gz: 3e407691e92af886949c5d40df759090ec1a6af21c469c8f6ff79a56cb87bf96b38e4a48233413f85d06a084d3b23eb1baa253ad783014efaa14fedcc93e1186
|
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] ?
|
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.
|
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:
|
11
|
+
date: 2016-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|