adobe_connect_api 0.0.43.alpha → 0.0.44.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 +17 -0
- metadata +4 -4
data/lib/adobe_connect_api.rb
CHANGED
@@ -155,6 +155,23 @@ class AdobeConnectAPI
|
|
155
155
|
return sco_id
|
156
156
|
end
|
157
157
|
|
158
|
+
# create a new meeting in Adobe Connect
|
159
|
+
# e.g. "https://collab-test.switch.ch/api/xml?action=sco-update&type=meeting&name=API-Test&folder-id=12578070&date-begin=2012-06-15T17:00&date-end=2012-06-15T23:00&url-path=apitest"
|
160
|
+
def create_meeting(name, folder_id, url_path)
|
161
|
+
puts "ACS create meeting with name, folder_id and url_path: " + name + folder_id.to_s + url_path
|
162
|
+
|
163
|
+
res = query("sco-update",
|
164
|
+
"type" => "meeting",
|
165
|
+
"name" => name,
|
166
|
+
"folder-id" => folder_id,
|
167
|
+
"url-path" => url_path)
|
168
|
+
|
169
|
+
puts "ACS: meeting created"
|
170
|
+
puts res.body
|
171
|
+
data = XmlSimple.xml_in(res.body)
|
172
|
+
data["sco"].first['sco-id']
|
173
|
+
end
|
174
|
+
|
158
175
|
# searches the user with the given email address and returns the principal id
|
159
176
|
# e.g. "https://collab-test.switch.ch/api/xml?action=principal-list&filter-email=rfurter@ethz.ch"
|
160
177
|
def get_principal_id(filter = nil, sort = nil)
|
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.44.alpha
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-28 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153329020 !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: *2153329020
|
25
25
|
description: Wrapper to the Adobe Connect API
|
26
26
|
email:
|
27
27
|
- christian.rohrer@switch.ch
|