adobe_connect_api 0.0.26.alpha → 0.0.27.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.
- data/lib/adobe_connect_api.rb +9 -3
- data/lib/adobe_connect_api/version.rb +1 -1
- metadata +3 -3
    
        data/lib/adobe_connect_api.rb
    CHANGED
    
    | @@ -149,6 +149,7 @@ class AdobeConnectAPI | |
| 149 149 | 
             
                #get principal id
         | 
| 150 150 | 
             
                puts filter.inspect
         | 
| 151 151 | 
             
                principal_id = get_principal_id(filter)
         | 
| 152 | 
            +
                puts principal_id.inspect
         | 
| 152 153 | 
             
                puts "ACS: add principal " + principal_id + " as host to new created meeting " + sco_id
         | 
| 153 154 |  | 
| 154 155 | 
             
                # aktuellen Benutzer als Host hinzufügen
         | 
| @@ -166,9 +167,14 @@ class AdobeConnectAPI | |
| 166 167 | 
             
                  "sort" => sort)
         | 
| 167 168 |  | 
| 168 169 | 
             
                data = XmlSimple.xml_in(res.body)
         | 
| 169 | 
            -
                 | 
| 170 | 
            -
             | 
| 171 | 
            -
             | 
| 170 | 
            +
                rows = []
         | 
| 171 | 
            +
                if data["principal-list"]
         | 
| 172 | 
            +
                  data["principal"].each do |trans|
         | 
| 173 | 
            +
                    # can only contain one result
         | 
| 174 | 
            +
                    principal-id = trans["principal-id"])
         | 
| 175 | 
            +
                  end
         | 
| 176 | 
            +
                end
         | 
| 177 | 
            +
                return AdobeConnectAPI::Result.new(data["status"][0]["code"], principal_id)
         | 
| 172 178 | 
             
              end
         | 
| 173 179 |  | 
| 174 180 | 
             
              # e.g. "https://collab-test.switch.ch/api/xml?action=permissions-update&principal-id=12578066&acl-id=13112626&permission-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.27.alpha
         | 
| 5 5 | 
             
              prerelease: 7
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -13,7 +13,7 @@ date: 2012-09-26 00:00:00.000000000Z | |
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: xml-simple
         | 
| 16 | 
            -
              requirement: & | 
| 16 | 
            +
              requirement: &2165255040 !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: *2165255040
         | 
| 25 25 | 
             
            description: Wrapper to the Adobe Connect API
         | 
| 26 26 | 
             
            email:
         | 
| 27 27 | 
             
            - christian.rohrer@switch.ch
         |