adobe_connect_api 0.0.34.alpha → 0.0.35.alpha

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AdobeConnectApi
2
- VERSION = "0.0.34.alpha"
2
+ VERSION = "0.0.35.alpha"
3
3
  end
@@ -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
- return result
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
- puts query
189
-
190
- return res.body
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)
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.34.alpha
4
+ version: 0.0.35.alpha
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors: