def list(object_type)
      url = generate_rest_url(:list, object_type)
      result = retrieve(url.path)
      parsed_result = parse_xml(result)
      find_object_in_result(parsed_result, object_type, :list)
    end
def list(object_type)
      url = generate_rest_url(:list, object_type)
      result = retrieve(url.path)
      parsed_result = parse_xml(result)
      find_object_in_result(parsed_result, object_type, :list)
    end
Working with REST services

 List collection of remote objects
 @param [Symbol] Object type
 @return [Array<Hash>] Array of objects