Floppy-amee 2.0.8 → 2.0.9
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/amee/profile_item.rb +2 -2
 - data/lib/amee/version.rb +1 -1
 - metadata +1 -1
 
    
        data/lib/amee/profile_item.rb
    CHANGED
    
    | 
         @@ -294,7 +294,7 @@ module AMEE 
     | 
|
| 
       294 
294 
     | 
    
         
             
                      post_data = ({:ProfileItems => items}).to_xml(:root => "ProfileCategory", :skip_types => true, :skip_nil => true)
         
     | 
| 
       295 
295 
     | 
    
         
             
                    end
         
     | 
| 
       296 
296 
     | 
    
         
             
                    # Post to category
         
     | 
| 
       297 
     | 
    
         
            -
                    response = connection.raw_post(category_path, post_data)
         
     | 
| 
      
 297 
     | 
    
         
            +
                    response = connection.raw_post(category_path, post_data).body
         
     | 
| 
       298 
298 
     | 
    
         
             
                    # Send back a category object containing all the created items
         
     | 
| 
       299 
299 
     | 
    
         
             
                    AMEE::Profile::Category.parse(connection, response)
         
     | 
| 
       300 
300 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -331,7 +331,7 @@ module AMEE 
     | 
|
| 
       331 
331 
     | 
    
         
             
                      put_data = ({:ProfileItems => items}).to_xml(:root => "ProfileCategory", :skip_types => true, :skip_nil => true)
         
     | 
| 
       332 
332 
     | 
    
         
             
                    end
         
     | 
| 
       333 
333 
     | 
    
         
             
                    # Post to category
         
     | 
| 
       334 
     | 
    
         
            -
                    response = connection.raw_put(category_path, put_data)
         
     | 
| 
      
 334 
     | 
    
         
            +
                    response = connection.raw_put(category_path, put_data).body
         
     | 
| 
       335 
335 
     | 
    
         
             
                    # Send back a category object containing all the created items
         
     | 
| 
       336 
336 
     | 
    
         
             
                    AMEE::Profile::Category.parse(connection, response)
         
     | 
| 
       337 
337 
     | 
    
         
             
                  end
         
     | 
    
        data/lib/amee/version.rb
    CHANGED