adobe_connect_api 0.0.64.alpha → 0.0.65.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/adobe_connect_api/version.rb +1 -1
- data/lib/adobe_connect_api.rb +2 -5
- metadata +3 -3
data/lib/adobe_connect_api.rb
CHANGED
@@ -194,13 +194,10 @@ class AdobeConnectAPI
|
|
194
194
|
filter["name"] == email
|
195
195
|
|
196
196
|
res = sco_contents(tree_id, filter)
|
197
|
-
|
198
|
-
puts res.rows.inspect
|
199
|
-
puts res.rows.class
|
200
|
-
puts res.rows.methods.sort
|
201
|
-
if res.rows.first.nil?
|
197
|
+
if res.rows.empty?
|
202
198
|
return nil
|
203
199
|
else
|
200
|
+
# should not contain more than 1 result
|
204
201
|
return res.rows.first["sco-id"]
|
205
202
|
end
|
206
203
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adobe_connect_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.65.alpha
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-10-24 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement: &
|
16
|
+
requirement: &2161463000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2161463000
|
25
25
|
description: Wrapper to the Adobe Connect API
|
26
26
|
email:
|
27
27
|
- christian.rohrer@switch.ch
|