cotendo 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cotendo.gemspec +1 -1
- data/lib/cotendo.rb +3 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/cotendo.gemspec
CHANGED
data/lib/cotendo.rb
CHANGED
@@ -6,8 +6,8 @@ class Cotendo
|
|
6
6
|
NAMESPACE = 'http://api.cotendo.net/'
|
7
7
|
|
8
8
|
def initialize(options)
|
9
|
-
@user = options[:user]
|
10
|
-
@password = options[:password]
|
9
|
+
@user = options[:user] or raise("missing :user")
|
10
|
+
@password = options[:password] or raise("missing :password")
|
11
11
|
end
|
12
12
|
|
13
13
|
def flush(cname, expressions, options = {})
|
@@ -20,7 +20,7 @@ class Cotendo
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def client
|
23
|
-
@client
|
23
|
+
@client ||= begin
|
24
24
|
client = Savon::Client.new do
|
25
25
|
wsdl.document = WSDL
|
26
26
|
wsdl.endpoint = WSDL + '&ver=1.0'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cotendo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser
|