adobe_connect_api 0.0.21.alpha → 0.0.22.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 -7
- metadata +3 -3
data/lib/adobe_connect_api.rb
CHANGED
@@ -124,11 +124,11 @@ class AdobeConnectAPI
|
|
124
124
|
return res.body
|
125
125
|
end
|
126
126
|
|
127
|
-
# TODO KG: add host
|
128
127
|
# create a new meeting in Adobe Connect
|
129
128
|
# 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"
|
130
129
|
def create_meeting_with_host(name, folder_id, url_path, host)
|
131
130
|
|
131
|
+
# TODO KG: get folder_id
|
132
132
|
if folder_id == nil
|
133
133
|
folder_id = 12578070
|
134
134
|
end
|
@@ -144,12 +144,7 @@ class AdobeConnectAPI
|
|
144
144
|
puts "ACS: meeting created"
|
145
145
|
puts res.body
|
146
146
|
data = XmlSimple.xml_in(res.body)
|
147
|
-
|
148
|
-
sco = data["sco"].first
|
149
|
-
puts sco.class
|
150
|
-
puts sco.inspect
|
151
|
-
puts sco.methods.sort
|
152
|
-
sco_id = data["sco"].first.attr('sco-id')
|
147
|
+
sco_id = data["sco"].first['sco-id']
|
153
148
|
|
154
149
|
#get principal id
|
155
150
|
principal_id = get_principal_id(host)
|
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.22.alpha
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-09-25 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153338220 !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: *2153338220
|
25
25
|
description: Wrapper to the Adobe Connect API
|
26
26
|
email:
|
27
27
|
- christian.rohrer@switch.ch
|