adobe_connect_api 0.0.31.alpha → 0.0.32.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
    CHANGED
    
    | @@ -169,9 +169,9 @@ class AdobeConnectAPI | |
| 169 169 | 
             
                data = XmlSimple.xml_in(res.body)
         | 
| 170 170 | 
             
                rows = []
         | 
| 171 171 | 
             
                if data["principal-list"]
         | 
| 172 | 
            -
                  data["principal"].each do |trans|
         | 
| 172 | 
            +
                  data["principal-list"].each do |trans|
         | 
| 173 173 | 
             
                    # can only contain one result
         | 
| 174 | 
            -
                    principal_id = trans["principal-id"]
         | 
| 174 | 
            +
                    principal_id = trans["principal"]["principal-id"]
         | 
| 175 175 | 
             
                  end
         | 
| 176 176 | 
             
                end
         | 
| 177 177 | 
             
                return AdobeConnectAPI::Result.new(data["status"][0]["code"], principal_id)
         |