adobe_connect_api 0.0.32.alpha → 0.0.33.alpha
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.
- data/lib/adobe_connect_api.rb +5 -4
- data/lib/adobe_connect_api/version.rb +1 -1
- metadata +3 -3
data/lib/adobe_connect_api.rb
CHANGED
|
@@ -166,12 +166,13 @@ class AdobeConnectAPI
|
|
|
166
166
|
"filter" => filter,
|
|
167
167
|
"sort" => sort)
|
|
168
168
|
|
|
169
|
+
puts res.body
|
|
169
170
|
data = XmlSimple.xml_in(res.body)
|
|
170
171
|
rows = []
|
|
171
|
-
if data["principal
|
|
172
|
-
data["principal
|
|
172
|
+
if data["principal"]
|
|
173
|
+
data["principal"].each do |trans|
|
|
173
174
|
# can only contain one result
|
|
174
|
-
principal_id = trans["principal
|
|
175
|
+
principal_id = trans["principal-id"]
|
|
175
176
|
end
|
|
176
177
|
end
|
|
177
178
|
return AdobeConnectAPI::Result.new(data["status"][0]["code"], principal_id)
|
|
@@ -384,7 +385,7 @@ class AdobeConnectAPI
|
|
|
384
385
|
end
|
|
385
386
|
puts "ACS query - request: " + request.path
|
|
386
387
|
response = http.request(request)
|
|
387
|
-
puts "ACS query -
|
|
388
|
+
puts "ACS query - response: " + response.inspect
|
|
388
389
|
return response
|
|
389
390
|
end
|
|
390
391
|
|
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.33.alpha
|
|
5
5
|
prerelease: 7
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-09-26 00:00:00.000000000Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: xml-simple
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2153337240 !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: *2153337240
|
|
25
25
|
description: Wrapper to the Adobe Connect API
|
|
26
26
|
email:
|
|
27
27
|
- christian.rohrer@switch.ch
|