adobe_connect_api 0.0.20.alpha → 0.0.21.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 -2
- metadata +1 -1
data/lib/adobe_connect_api.rb
CHANGED
@@ -145,11 +145,11 @@ class AdobeConnectAPI
|
|
145
145
|
puts res.body
|
146
146
|
data = XmlSimple.xml_in(res.body)
|
147
147
|
|
148
|
-
sco = data["sco"]
|
148
|
+
sco = data["sco"].first
|
149
149
|
puts sco.class
|
150
150
|
puts sco.inspect
|
151
151
|
puts sco.methods.sort
|
152
|
-
sco_id = data["sco"].attr('sco-id')
|
152
|
+
sco_id = data["sco"].first.attr('sco-id')
|
153
153
|
|
154
154
|
#get principal id
|
155
155
|
principal_id = get_principal_id(host)
|