adobe_connect_api 0.0.45.alpha → 0.0.46.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.45.alpha"
2
+ VERSION = "0.0.46.alpha"
3
3
  end
@@ -121,7 +121,9 @@ class AdobeConnectAPI
121
121
  "type" => "user")
122
122
 
123
123
  puts "ACS: user created"
124
- return res.body
124
+ puts res.body
125
+ data = XmlSimple.xml_in(res.body)
126
+ data["principal-id"]
125
127
  end
126
128
 
127
129
  # create a new meeting in Adobe Connect
@@ -195,6 +197,14 @@ class AdobeConnectAPI
195
197
  return AdobeConnectAPI::Result.new(data["status"][0]["code"], nil)
196
198
  end
197
199
 
200
+ #action=group-membership-update&group-id=integer&principal-id=integer&is-member=boolean
201
+ def group_membership_update(group_id, principal_id, is_member)
202
+ res = query("group-membership-update",
203
+ "group-id" => group_id,
204
+ "principal-id" => principal_id,
205
+ "is-member" => is_member)
206
+ end
207
+
198
208
  # e.g. acl-field-update&acl-id=13117741&field-id=meeting-passcode&value=12345
199
209
  def set_passcode(acl_id, passcode)
200
210
  res = query("acl-field-update",
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.45.alpha
4
+ version: 0.0.46.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-28 00:00:00.000000000Z
12
+ date: 2012-10-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-simple
16
- requirement: &2153338220 !ruby/object:Gem::Requirement
16
+ requirement: &2153526440 !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: *2153338220
24
+ version_requirements: *2153526440
25
25
  description: Wrapper to the Adobe Connect API
26
26
  email:
27
27
  - christian.rohrer@switch.ch