adobe_connect_api 0.0.42.alpha → 0.0.43.alpha

Sign up to get free protection for your applications and to get access to all the features.
@@ -126,7 +126,7 @@ class AdobeConnectAPI
126
126
 
127
127
  # create a new meeting in Adobe Connect
128
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"
129
- def create_meeting_with_host(name, folder_id, url_path, filter)
129
+ def create_meeting_with_host(name, folder_id, url_path, email)
130
130
  puts "ACS create meeting with name, folder_id and url_path: " + name + folder_id.to_s + url_path
131
131
 
132
132
  res = query("sco-update",
@@ -141,7 +141,8 @@ class AdobeConnectAPI
141
141
  sco_id = data["sco"].first['sco-id']
142
142
 
143
143
  #get principal id
144
- puts filter.inspect
144
+ filter = AdobeConnectApi::FilterDefinition.new
145
+ filter["email"] == email
145
146
  principal_id = get_principal_id(filter)
146
147
  puts principal_id.inspect
147
148
  puts "ACS: add principal " + principal_id + " as host to new created meeting " + sco_id
@@ -1,3 +1,3 @@
1
1
  module AdobeConnectApi
2
- VERSION = "0.0.42.alpha"
2
+ VERSION = "0.0.43.alpha"
3
3
  end
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.42.alpha
4
+ version: 0.0.43.alpha
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-simple
16
- requirement: &2161463000 !ruby/object:Gem::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: *2161463000
24
+ version_requirements: *2153338220
25
25
  description: Wrapper to the Adobe Connect API
26
26
  email:
27
27
  - christian.rohrer@switch.ch