adobe_connect_api 0.0.34.alpha → 0.0.35.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/version.rb +1 -1
- data/lib/adobe_connect_api.rb +5 -5
- metadata +1 -1
data/lib/adobe_connect_api.rb
CHANGED
@@ -154,8 +154,8 @@ class AdobeConnectAPI
|
|
154
154
|
|
155
155
|
# aktuellen Benutzer als Host hinzufügen
|
156
156
|
result = permissions_update(principal_id, sco_id, 'host')
|
157
|
-
puts result
|
158
|
-
|
157
|
+
puts result.inspect
|
158
|
+
puts "ACS: added meeting host: " + result.status
|
159
159
|
end
|
160
160
|
|
161
161
|
# searches the user with the given email address and returns the principal id
|
@@ -185,9 +185,9 @@ class AdobeConnectAPI
|
|
185
185
|
"principal-id" => principal_id,
|
186
186
|
"acl-id" => acl_id,
|
187
187
|
"permission-id" => permission_id)
|
188
|
-
|
189
|
-
|
190
|
-
return
|
188
|
+
|
189
|
+
data = XmlSimple.xml_in(res.body)
|
190
|
+
return AdobeConnectAPI::Result.new(data["status"][0]["code"], nil)
|
191
191
|
end
|
192
192
|
|
193
193
|
#Returns all defined quotas (untested)
|