def save
      response = @connection.handle_response( @connection.put("#{@collection_path}",self.to_xml) )
      self.replace( @resource.load_collection( @connection.format.decode(response.body) ) )
    end
def save
      response = @connection.handle_response( @connection.put("#{@collection_path}",self.to_xml) )
      self.replace( @resource.load_collection( @connection.format.decode(response.body) ) )
    end
DEPRECATED...
 def find(look_for)
   if not (look_for.is_a? String or look_for.is_a? Integer)
     look_for_id = look_for
   else
     look_for_id = look_for.id
   end

   self.each do |obj|
       obj.id == look_for_id and return obj
   end
   return nil
 end