adobe_connect_api 0.0.22.alpha → 0.0.23.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module AdobeConnectApi
2
- VERSION = "0.0.22.alpha"
2
+ VERSION = "0.0.23.alpha"
3
3
  end
@@ -157,11 +157,7 @@ class AdobeConnectAPI
157
157
 
158
158
  # searches the user with the given email address and returns the principal id
159
159
  # e.g. "https://collab-test.switch.ch/api/xml?action=principal-list&filter-email=rfurter@ethz.ch"
160
- def get_principal_id(email)
161
-
162
- filter = AdobeConnectAPI::FilterDefinition.new
163
- filter["email"] == email
164
-
160
+ def get_principal_id(filter)
165
161
  res = query("principal-list", filter)
166
162
  puts query
167
163
 
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.22.alpha
4
+ version: 0.0.23.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: &2153338220 !ruby/object:Gem::Requirement
16
+ requirement: &2165657200 !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: *2165657200
25
25
  description: Wrapper to the Adobe Connect API
26
26
  email:
27
27
  - christian.rohrer@switch.ch